pyspark配置单元llap无法设置配置单元属性

eyh26e7m  于 2021-05-17  发布在  Spark
关注(0)|答案(0)|浏览(283)

配置单元查询:

set hive.support.quoted.identifiers=none;

select `(col1)?+.+`,81,null from table;

在spark中尝试同样的操作时。下面是尝试通过pyspark执行时出现的错误

spark = SparkSession.builder.appName("Hive processing template").config(
conf=SparkConf()).enableHiveSupport().getOrCreate()

hive = HiveWarehouseSession.session(spark).build()

hive.execute("set hive.support.quoted.identifiers=none;")
hive.execute("select `(col1)?+.+`,81,null from tablename;")

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题