原文:执行hive SQL时报错 AnalysisException: select list expression not produced by aggregation output (missing from GROUP BY clause?)

AnalysisException: select list expression not produced by aggregation output missing from GROUP BY clause 错误原因 这个错误是由于 查询列后面的字段没有全部放在group by 后面 除聚合函数以为 造成的。 错误解决 将查询列后面的字段 除聚合函数 都放在 group by后面就行 例如 最 ...

2020-04-16 10:06 0 5730 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM