1. 建表语句 create table person( id string, name string, age int ) row format delimited fields terminated by ';' stored as textfile; 2. 加载数据如进表 load data local inpath '/usr/hive/data/person.txt' into table person;