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)

Reply via email to