You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Robert Zych (Jira)" <ji...@apache.org> on 2024/04/22 23:18:00 UTC

[jira] [Created] (CALCITE-6381) DateTruncFunctionCall customization support in parser

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)