摘要: Hive 中的wordCount、Hive 开窗函数 Hive 中的wordCount create table words( words string )row format delimited fields terminated by '|'; // 数据 hello,java,hello,ja 阅读全文
posted @ 2022-02-21 22:28 赤兔胭脂小吕布 阅读(302) 评论(0) 推荐(0) 编辑
摘要: Hive练习题20道及解题过程、开发中的常见问题和细节 开发中的常见问题和细节 distinct -- 去重 可以放在select后面,表示所有字段的去重 也可以放在聚合函数中,表示对函数中的字段去重 Hive中where条件不支持不等式的子查询,可以通过join实现 select … from 表 阅读全文
posted @ 2022-02-21 21:12 赤兔胭脂小吕布 阅读(769) 评论(0) 推荐(0) 编辑