Xianqing He has posted comments on this change. ( http://gerrit.cloudera.org:8080/16353 )
Change subject: IMPALA-10096: Use the original ordinal if the group by ordinal reference is a constant int ...................................................................... Patch Set 4: (6 comments) http://gerrit.cloudera.org:8080/#/c/16353/2//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/16353/2//COMMIT_MSG@9 PS2, Line 9: uses the > nit: 'uses' instead of 'using' Done http://gerrit.cloudera.org:8080/#/c/16353/2//COMMIT_MSG@11 PS2, Line 11: throw > nit: 'throw an' Done http://gerrit.cloudera.org:8080/#/c/16353/2//COMMIT_MSG@12 PS2, Line 12: the > strictly, it is not the sql string but the expression; you could rephrase a Done http://gerrit.cloudera.org:8080/#/c/16353/2//COMMIT_MSG@19 PS2, Line 19: no rewriti > remove 'there are', the sentence '..since no rewriting happens' is complet Done http://gerrit.cloudera.org:8080/#/c/16353/2//COMMIT_MSG@22 PS2, Line 22: - Added new unit tests with ordinal in GROUP BY whereas SELECT has > nit: ordinal is only in the GROUP BY whereas SELECT has the INT literal. Done http://gerrit.cloudera.org:8080/#/c/16353/2/fe/src/main/java/org/apache/impala/analysis/SelectStmt.java File fe/src/main/java/org/apache/impala/analysis/SelectStmt.java: http://gerrit.cloudera.org:8080/#/c/16353/2/fe/src/main/java/org/apache/impala/analysis/SelectStmt.java@759 PS2, Line 759: // use the original ordinal if the analyzed expr is a INT literal > maybe worth stating that this applies to all INT_LITERALs which covers BIGI Done -- To view, visit http://gerrit.cloudera.org:8080/16353 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I34f659d15073d69aa0a4685f56ad94557df86560 Gerrit-Change-Number: 16353 Gerrit-PatchSet: 4 Gerrit-Owner: Xianqing He <[email protected]> Gerrit-Reviewer: Aman Sinha <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]> Gerrit-Reviewer: Xianqing He <[email protected]> Gerrit-Comment-Date: Mon, 07 Sep 2020 12:37:08 +0000 Gerrit-HasComments: Yes
