apache hive 0.14 beeline 使用注意事项,hivebeeline


  1. 不要使用local关键字 load data local inpath 是不行

  2. beeline & 方式存在问题,是beeline得bug ,使用nohup sh xxx.sh & 也会出错

  3. beeline -f 执行sql文件,如果报“Error: Error while compiling statement: FAILED: ParseException line 1:814 cannot recognize input near ‘;’ <EOF>’ in expression specification (state=42000,code=40000)”错误。可能是因为“;”后面有空格等字符所致。

  4. beeline -e "sql语句" 执行指定去除表头是个bug不管用

相关内容