Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-4453

RexExecutorImpl#compile should use RexBuilder's type factory if possible

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.27.0
    • Component/s: core

      Description

      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).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rubenql Ruben Q L
                Reporter:
                rubenql Ruben Q L
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m