hive 使用过程中遇到的问题记录
having count() 无法去重
having count(distinct columnA) 会报错columnA字段错误
having count(columnA) 正常
使用select * 时 order by 会提示排序字段不在select 中
在select语句中需使用具体字段
本文来自博客园,作者:Splus,转载请注明原文链接:https://www.cnblogs.com/s-plus/p/15889928.html
having count() 无法去重
having count(distinct columnA) 会报错columnA字段错误
having count(columnA) 正常
使用select * 时 order by 会提示排序字段不在select 中
在select语句中需使用具体字段
本文来自博客园,作者:Splus,转载请注明原文链接:https://www.cnblogs.com/s-plus/p/15889928.html