You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Ruben Q L (Jira)" <ji...@apache.org> on 2021/01/04 12:01:00 UTC

[jira] [Created] (CALCITE-4453) RexExecutorImpl#compile should use RexBuilder's type factory if possible

Ruben Q L created CALCITE-4453:
----------------------------------

             Summary: 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
             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)