摘要:
hive里通常通过collect_set和collect_list来进行列转行,其中collect_list为不去重转换,collect_set为去重转换。 创建一个测试表 CREATE table stu_score( stu_id string comment '学号', stu_name st 阅读全文
摘要:
1.从文件中加载数据建表语句: CREATE TABLE IF NOT EXISTS `test.test1`( `user_id` int, `name` string, `address` string) row format delimited fields terminated by ',' 阅读全文