我創建了一個hive數據庫。我使用Hive的Hortonworks ODBC驅動程序爲Hive創建了一個ODBC數據源。加入2個簡單表的「意外錯誤」
我使用Tableau 9(桌面)中的此數據源。
我可以查詢表DimA,我可以查詢表FactA。但在畫面,如果我嘗試做一個連接,我得到錯誤
[Hortonworks][HiveODBC] (35) Error from Hive: error code: '0' error message: 'ExecuteStatement finished with operation state: ERROR_STATE'.
Unexpected Error
我可以很容易地去我的集羣和發佈hiveshell同一查詢沒有任何問題,並返回結果。
我搜索了互聯網,人們有這個許可問題,通過「授予」得到解決..但在這種情況下,我能夠查詢個人2表(dima,facta)容易從畫面......但只有當我加入它引發上述錯誤的表。
我試過「新的自定義SQL」並複製粘貼在Hive Shell中工作的SQL ...但是畫面拋出了錯誤。
[Hortonworks][HiveODBC] (35) Error from Hive: error code: '40000' error message: 'Error while compiling statement: FAILED: ParseException line 1:11 cannot recognize input near 'TOP' '1' '*' in select expression'.