Robert Zych created CALCITE-6381:
------------------------------------
Summary: DateTruncFunctionCall customization support in parser
Key: CALCITE-6381
URL: https://issues.apache.org/jira/browse/CALCITE-6381
Project: Calcite
Issue Type: Improvement
Reporter: Robert Zych
Apache Pinot recently upgraded to version 1.36.0 of Apache Calcite. The parser
(Parser.jj) was copied and
[[customized|https://github.com/apache/pinot/blob/master/pinot-common/src/main/codegen/templates/Parser.jj#L7007]|https://github.com/apache/pinot/blob/master/pinot-common/src/main/codegen/templates/Parser.jj#L7007]
to support Pinot's DATE_TRUNC in the upgrade process. Since
builtinFunctionCallMethods is injected after DateTruncFunctionCall() it doesn't
appear to support the customizations required.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)