PySpark SQL Error: sql() missing 1 required positional argument: 'sqlQuery'

前端 未结 0 1220
轮回少年
轮回少年 2020-12-04 23:56

I am new to spark and trying to extract data from Hive using spark sql in python by doing the following:

from pyspark.sql import SparkSession, SQLContext
sdf          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题