Hive 第一次创建库脚本:
create table pokes (foo int, bar string)
Hive 调整后的建库脚本:
create table pokes (foo int, bar string) row format delimited fields terminated by ','
请注意我新增的脚本片段: row format delimited fields terminated by ',' = 代表行数据的分割符是','
这是CentOS7本地导入Hive 的数据文本内容(/usr/local/data/pokes.txt)