[
https://issues.apache.org/jira/browse/CALCITE-7339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18046852#comment-18046852
]
Mihai Budiu commented on CALCITE-7339:
--------------------------------------
Turns out that SqlLambda suffers from the same problem, I will add it to this
PR.
> Most classes in SqlDdlNodes use an incorrect SqlCallFactory
> -----------------------------------------------------------
>
> Key: CALCITE-7339
> URL: https://issues.apache.org/jira/browse/CALCITE-7339
> Project: Calcite
> Issue Type: Bug
> Components: core, server
> Affects Versions: 1.41.0
> Reporter: Mihai Budiu
> Priority: Minor
> Labels: pull-request-available
>
> These classes (e.g., SqlCreateTable) all rely on the default call factory
> SQL_BASIC_CALL_FACTORY, which creates a SqlBasicCall object.
> The consequence is that if a SqlShuttle modifies any such object, the result
> created will be a SqlBasicCall object instead of the original class.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)