Hive 创建表函数(dask sql)不适用于配置单元
以下是我得到的错误: 这个问题的解决方案是什么?为什么create_table函数无法与配置单元通信?需要某种授权吗?谢谢Hive 创建表函数(dask sql)不适用于配置单元,hive,dask,Hive,Dask,以下是我得到的错误: 这个问题的解决方案是什么?为什么create_table函数无法与配置单元通信?需要某种授权吗?谢谢 from pyhive.hive import connect from dask_sql import Context # Connecting to hive database connection = connect(host=host_name, port=port, username=user, password=password,
from pyhive.hive import connect
from dask_sql import Context
# Connecting to hive database
connection = connect(host=host_name, port=port, username=user, password=password,
database=database, auth='CUSTOM')
# Getting Cursor
cursor = connection.cursor()
#Creating Context object for table registration
c = Context()
# Create table registration
c.create_table("data", cursor, hive_table_name="my_hive_table")
df_result = c.sql("SELECT * FROM data")