Hive的数据模型之分区表 准备数据表: create table sampledata (sid int, sname string, gender string, language int, math int, english int) row format delimited fields terminated by ',' stored as textfile; 准备文本数据: sampledata.txt ,Tom,M,,, ,Mary,F,,, ,Jerry,M,,, ,Rose,M…