2016-08-05 35 views
-1
create table tblemployees 
[ empid int, 
empname string, 
location string, 
salary double1 
row formate delimited fields terminated by "."] 

我得到一個錯誤上面的代碼爲錯誤而編譯聲明:失敗:ParseException的線路2:0不能識別附近「tblemployees「輸入[」表名「EMPID」

Error while compiling statement: FAILED: ParseException line 2:0 cannot recognize input near 'tblemployees' '[' 'empid' in table name 

這將是什麼解決方案?

+0

如果您在蜂巢創建表中刪除「[」 – BruceWayne

回答

0

使用括號「(」,而不是方括號「[」 ..

相關問題