0
我建立了一個蜂巢表與ORC存儲格式蜂巢索引重建失敗
create table temp.userinfo(user_id int, user_group int, user_type int)
row format delimited fields terminated by ',' lines terminated by '\n' stored as ORC
然後我生成的數據已經被加載
create index user_id_user on table userinfo(user_id) as 'COMPACT' with deferred rebuild
後的表的索引,我嘗試重建與HQL指數爲」
ALTER INDEX user_id_user ON userinfo REBUILD
但我得到的錯誤作爲
ERROR當執行sql: '錯誤在處理語句:FAILED:在org.apache.hadoop.hive.ql.exec.mr.MapRedTask 執行錯誤' REBUILD
SQL = ALTER INDEX上用戶信息user_id_user,ARGS =無
我不知道如何弄清楚這個錯誤。 謝謝sooooo多!
'on table'不正確。 –
你的意思是在創建索引部分?什麼是正確的語法? – Wanying