[
https://issues.apache.org/jira/browse/CALCITE-6381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Zych updated CALCITE-6381:
---------------------------------
Description: 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]
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. (was: 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. )
> 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
> Priority: Minor
>
> 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]
> 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)