Hive 报错 FAILED: SemanticException [Error 10025]: Line 2:35 Expression not in GROUP BY key 'videoId'

参考:https://stackoverflow.com/questions/5746687/hive-expression-not-in-group-by-key

解决:在hql中,要在select..group by..中要展示某个字段,就必须对这个字段进行group by,否则就不要select那个字段

猜你喜欢

转载自blog.csdn.net/qq_31024823/article/details/89382103
今日推荐