Steve Carlin has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/25144 )

Change subject: IMPALA-14944: Throw UnsupportedFeatureException for some 
Calcite planner queries
......................................................................


Patch Set 2:

(4 comments)

http://gerrit.cloudera.org:8080/#/c/25144/2/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteAnalysisDriver.java
File 
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteAnalysisDriver.java:

http://gerrit.cloudera.org:8080/#/c/25144/2/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteAnalysisDriver.java@212
PS2, Line 212: ParseException,
> nit: Does this method throw a ParseException somewhere in this method? It s
Removed


http://gerrit.cloudera.org:8080/#/c/25144/2/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteMetadataHandler.java
File 
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteMetadataHandler.java:

http://gerrit.cloudera.org:8080/#/c/25144/2/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/CalciteMetadataHandler.java@311
PS2, Line 311: if (table.getColumn(onlyColumnPart) != null)
> The comment is not directly related to this patch. But I found that this ch
Good catch!

I ran this on a fuller test suite with your suggestion and it seems to work 
fine with some minor issues that are also fixed.


http://gerrit.cloudera.org:8080/#/c/25144/2/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ComplexTableDetector.java
File 
java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ComplexTableDetector.java:

http://gerrit.cloudera.org:8080/#/c/25144/2/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ComplexTableDetector.java@88
PS2, Line 88: potentialTable
> nit: Is this used anywhere?
Removed


http://gerrit.cloudera.org:8080/#/c/25144/2/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ComplexTableDetector.java@89
PS2, Line 89: tableNameIdentifier
> nit: Is this used anywhere?
Removed



--
To view, visit http://gerrit.cloudera.org:8080/25144
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I037d636064c4c99131598b7424dd99e4ad56d30f
Gerrit-Change-Number: 25144
Gerrit-PatchSet: 2
Gerrit-Owner: Steve Carlin <[email protected]>
Gerrit-Reviewer: Aleksandr Efimov <[email protected]>
Gerrit-Reviewer: Aman Sinha <[email protected]>
Gerrit-Reviewer: Fang-Yu Rao <[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: Fri, 23 Oct 2026 02:33:05 +0000
Gerrit-HasComments: Yes

Reply via email to