阅读背景:

Hive 将本地数据导入hive表中

来源:互联网 
# 导入
load data local inpath '/root/mr/The_Man_of_Property.txt' insert into table article;

# 提示
FAILED: ParseException line 1:58 extraneous input 'insert' expecting INTO near '<EOF>'

# 查找半天没发现哪里有问题,怎么试都没用,把表重新建还是一样的问题。
# 于是把 insert 改为 overwrite 就可以了。

load data local inpath '/root/mr/The_Man_of_Property.txt' overwrite into table article;
# 导入
load data local inpath '/root/mr/The_M



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: