You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Ruben Q L (Jira)" <ji...@apache.org> on 2021/01/04 12:05:00 UTC
[jira] [Assigned] (CALCITE-4453) RexExecutorImpl#compile should use
RexBuilder's type factory if possible
[ https://issues.apache.org/jira/browse/CALCITE-4453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ruben Q L reassigned CALCITE-4453:
----------------------------------
Assignee: Ruben Q L
> 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
> Fix For: 1.27.0
>
>
> {{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)