2016-08-05 48 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

使用括号“(”,而不是方括号“[” ..

相关问题