當我期運用這個命令得到了一個錯誤:使用直線上運行遠程斑羚一些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