pyspark蜂巢搭接无法设置蜂巢属性

问题描述

配置查询

set hive.support.quoted.identifiers=none;

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

在火花中尝试执行相同操作时。以下是尝试通过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)?+.+`,null from tablename;")

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)