原文:執行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