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

Calc#accept(RexShuttle shuttle) does not update rowType

    XMLWordPrintableJSON

Details

    Description

      In current code, Calc#accept(RexShuttle shuttle) keep the original rowType, even when the expression list is modified by the shuttle. https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/rel/core/Calc.java#L175
      It might be wrong and a new rowType should be derived.

      Attachments

        Issue Links

          Activity

            People

              jinxing6042@126.com Jin Xing
              jinxing6042@126.com Jin Xing
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 2h
                  2h