hive,mysql,sqlserver 列转行函数,一行转成多行;行转列函数,多行合并成一行
一、列转行
1.hive 列转行实现方式
原始数据:
create table test(
name string,
subject string
) row format delimited fields terminated by ‘\t’ escaped by ‘\’ stored as textfile;
insert into test(name,subject)values(‘name...
原创
2019-04-01 17:17:19 ·
1370 阅读 ·
0 评论