Aleksandr Efimov has posted comments on this change. ( https://gerrit.cloudera.org/25137 )
Change subject: IMPALA-14947: Calcite planner: fix parsing issues ...................................................................... Patch Set 13: (1 comment) https://gerrit.cloudera.org/#/c/25137/13/java/calcite-planner/src/main/codegen/templates/Parser.jj File java/calcite-planner/src/main/codegen/templates/Parser.jj: https://gerrit.cloudera.org/#/c/25137/13/java/calcite-planner/src/main/codegen/templates/Parser.jj@4413 PS13, Line 4413: AddArg(args, ExprContext.ACCEPT_SUB_QUERY) > PS13 still rejects `trim(leading from ' x ')` because an expression is re PS14 fixes the valid forms, but `trim()` and `utf8_trim()` now reach `args.get(0)` with an empty list. Could we reject them as syntax errors and test both functions with fallback disabled? -- To view, visit https://gerrit.cloudera.org/25137 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I5e275f1b0b1f4895a12ac6251e91a39408815a75 Gerrit-Change-Number: 25137 Gerrit-PatchSet: 13 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: Thu, 12 Nov 2026 08:18:02 +0000 Gerrit-HasComments: Yes
