Spark,Hadoop交流群,群QQ号:521066396,欢迎加入共同学习,一起进步~
场景:插入数据到外部表。
insert into ext_emp select * from emp;
报错:
FAILED: ParseException line 1:12 missing TABLE at ‘ext_emp’ near ‘’
Error: Error while compiling statement: FAILED: ParseException line 1:12 missing TABLE at ‘ext_emp’ near ‘’ (state=42000,code=40000)
解决:
insert into table ext_emp select * from emp;