关于在hive中使用 group by 的问题
关于在hive中使用 group by 分组的误区
在hive中使用group by查询,如:
select name,sex from people group by sex;
会出现报错提示:
FAILED: SemanticException [Error 10025]: Line 1:15 Expression not in GROUP BY key 'name'
Error: Error while compiling statement: FAILED: SemanticException [E
原创
2020-12-07 19:30:50 ·
2741 阅读 ·
0 评论