当我期运用这个命令得到了一个错误:使用直线上运行远程斑羚一些SQL失败
$ beeline --silent=true -u 'jdbc:hive2://[ip]:21050/[database];auth=noSasl' -n 'username' -p 'password' -e 'use [database]; create table test_table (id int, name string);'
Error: AnalysisException: Could not resolve table reference: 'arcaccessdenied' (state=HY000,code=0)
如何解决这个问题?
'黑斑羚,shell'是你如何使用黑斑羚。您只需连接到HiveServer2 –
请注意,对于直接连接到'jdbc'字符串的数据库,您不需要'USE'语句 –
当然,我们可以使用impala-shell,但我们需要转移到直线。 – Canux