Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/21923 )
Change subject: IMPALA-13441: Support explain statements in Impala planner ...................................................................... Patch Set 5: Code-Review+1 (3 comments) http://gerrit.cloudera.org:8080/#/c/21923/4/java/calcite-planner/src/main/codegen/templates/Parser.jj File java/calcite-planner/src/main/codegen/templates/Parser.jj: http://gerrit.cloudera.org:8080/#/c/21923/4/java/calcite-planner/src/main/codegen/templates/Parser.jj@1134 PS4, Line 1134: ( > Heh, I made a reply in the other commit that I wanted to keep this around a If we're planning to eventually implement many of them, I'm more in favor of commenting them out temporarily. Otherwise I'd remove them. http://gerrit.cloudera.org:8080/#/c/21923/4/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteJniFrontend.java File java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteJniFrontend.java: http://gerrit.cloudera.org:8080/#/c/21923/4/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteJniFrontend.java@149 PS4, Line 149: if (Parser.parse(queryCtx.getStmt()) instanceof SelectStmt) { > It didn't flag any coding issues, so it must be an unchecked exception. Based on https://gerrit.cloudera.org/c/21989/, we can probably let it throw. http://gerrit.cloudera.org:8080/#/c/21923/4/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ExecRequestCreator.java File java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ExecRequestCreator.java: http://gerrit.cloudera.org:8080/#/c/21923/4/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ExecRequestCreator.java@152 PS4, Line 152: TExplainLevel explainLevel = > Done Ack -- To view, visit http://gerrit.cloudera.org:8080/21923 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Iea6afaa1f1698a300ad047c8820691cf7e8eb44b Gerrit-Change-Number: 21923 Gerrit-PatchSet: 5 Gerrit-Owner: Steve Carlin <[email protected]> Gerrit-Reviewer: Aman Sinha <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Reviewer: Steve Carlin <[email protected]> Gerrit-Comment-Date: Tue, 29 Oct 2024 21:14:15 +0000 Gerrit-HasComments: Yes
