Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/16431 )
Change subject: IMPALA-10157: analysis error for grouping_id() w/o group by ...................................................................... IMPALA-10157: analysis error for grouping_id() w/o group by The following query is invalid because it uses grouping() without a group by clause. select int_col, grouping(int_col) from functional.alltypes Instead of an IllegalStateException, catch these invalid queries in analysis and throw an AnalysisException with a better message. Change-Id: I1dae36e32a465b3f25ba32a4468cb386d53b7c8a Reviewed-on: http://gerrit.cloudera.org:8080/16431 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M fe/src/main/java/org/apache/impala/analysis/MultiAggregateInfo.java M fe/src/test/java/org/apache/impala/analysis/AnalyzeStmtsTest.java 2 files changed, 12 insertions(+), 0 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/16431 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I1dae36e32a465b3f25ba32a4468cb386d53b7c8a Gerrit-Change-Number: 16431 Gerrit-PatchSet: 4 Gerrit-Owner: Tim Armstrong <[email protected]> Gerrit-Reviewer: Aman Sinha <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]>
