蜂巢支持範圍分區嗎?蜂巢中的範圍分區
我的意思是做蜂巢支持類似如下:
insert overwrite table table2 PARTITION (employeeId BETWEEN 2001 and 3000)
select employeeName FROM emp10 where employeeId BETWEEN 2001 and 3000;
凡表2 & emp10有兩列:
employeeName & 僱員
當我運行上面的查詢我面臨的一個錯誤:
FAILED: ParseException line 1:56 mismatched input 'BETWEEN' expecting) near 'employeeId' in destination specification