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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.27.0
    • 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

              rubenql Ruben Q L
              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