Fang-Yu Rao 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: (1 comment) http://gerrit.cloudera.org:8080/#/c/25144/2/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/UnsupportedChecker.java File java/calcite-planner/src/main/java/org/apache/impala/calcite/service/UnsupportedChecker.java: http://gerrit.cloudera.org:8080/#/c/25144/2/java/calcite-planner/src/main/java/org/apache/impala/calcite/service/UnsupportedChecker.java@119 PS2, Line 119: if (stmt.contains("`" + m.group(1) + "`")) { : throw new UnsupportedFeatureException( : "Backticks around column " + m.group(1) + " is not supported."); : } I verified that the following query could exercise this code path. SELECT `fake_column` FROM functional.alltypestiny But why do we want to throw an UnsupportedFeatureException here? I think the Calcite planner already supports backticks around a (existing) column name like the following. Isn't it always true? SELECT `id` FROM functional.alltypestiny -- 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: Sat, 24 Oct 2026 00:00:25 +0000 Gerrit-HasComments: Yes
