FAILED: ParseException line 1:21 cannot recognize input near '' '' '' in table name

后端 未结 2 2091
情书的邮戳
情书的邮戳 2021-01-22 07:18

Command:

hive -e \"use xxx;DROP TABLE IF EXISTS `xxx.flashsaleeventproducts_hist`;CREATE EXTERNAL TABLE `xxx.flashsaleeventproducts_hist`(`event_id` string,`grou         


        
2条回答
  •  不思量自难忘°
    2021-01-22 07:52

    I have known the problem came from symbol : ` .

    Remove that symbol solve the problem .

    Only one question left is why ` work well in hive-cli but failed in hive -e "xxx".

提交回复
热议问题