[
https://issues.apache.org/jira/browse/CALCITE-4453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated CALCITE-4453:
------------------------------------
Labels: pull-request-available (was: )
> RexExecutorImpl#compile should use RexBuilder's type factory if possible
> ------------------------------------------------------------------------
>
> Key: CALCITE-4453
> URL: https://issues.apache.org/jira/browse/CALCITE-4453
> Project: Calcite
> Issue Type: Bug
> Components: core
> Reporter: Ruben Q L
> Assignee: Ruben Q L
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.27.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {{RexExecutorImpl#compile}} creates always a new {{JavaTypeFactoryImpl}}
> based on {{RexBuilder}}'s type system; however, it could / should take the
> {{RexBuilder}}'s own type factory (if it is a {{JavaTypeFactory}} itself).
> Client code can define its own type factory (that will arrive inside the
> {{RexBuilder}}), so it should be taken as first option (if it is not a
> {{JavaTypeFactory}}, the current code will be chosen).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)