Joe McDonnell has posted comments on this change. ( https://gerrit.cloudera.org/25144 )
Change subject: IMPALA-14944: Calcite fallback via UnsupportedFeatureException ...................................................................... Patch Set 4: (1 comment) https://gerrit.cloudera.org/#/c/25144/4/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: https://gerrit.cloudera.org/#/c/25144/4/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/ComplexTableDetector.java@95 PS4, Line 95: private boolean tableAndComplexColumnExists(List<String> tableStringList) { : Preconditions.checkState(tableStringList.size() >= 2); : int arrayOffset = 0; : String dbName = tableStringList.size() == 2 : ? currentDb_ : : tableStringList.get(arrayOffset++).toLowerCase(); : FeDb db = catalog_.getDb(dbName); : if (db == null) { : return false; : } : FeTable feTable = db.getTable(tableStringList.get(arrayOffset++).toLowerCase()); : if (feTable == null) { : return false; : } : return feTable.getColumnNames().contains( : tableStringList.get(arrayOffset).toLowerCase()); : } > A couple things: I'm still confirming whether #1 is actually a problem. I'll comment again when I'm sure. -- To view, visit https://gerrit.cloudera.org/25144 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I037d636064c4c99131598b7424dd99e4ad56d30f Gerrit-Change-Number: 25144 Gerrit-PatchSet: 4 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: Mon, 02 Nov 2026 20:42:24 +0000 Gerrit-HasComments: Yes
