文章浏览阅读361次。create table t_salary_detail(username string,month string,salary int)row format delimited fields terminated by ',';load data local inpath '/root/hivedata/t_salary_detail.dat' into table t_salary_detail;A,2015-01,5A,2015-01,15B,2015-01,5A,2015-01,8_hive先group by求和...