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

SubQueryJoinRemoveRule and SubQueryProjectRemoveRule passing on empty set instead of set of correlation id

    XMLWordPrintableJSON

Details

    Description

      Call to apply takes set of CorrelationId but both SubQueryJoinRemoveRule and SubQueryProjectRemoveRule are passing empty set for whatever reason.

      I believe the correct thing to do here is to pass on the actual set of CorrelationId like SubQueryFilterRemoveRule

      Ref:

      final RexNode target = apply(e, ImmutableSet.of(),
          logic, builder, 2, fieldCount);
      

      Attachments

        Issue Links

          Activity

            People

              vgarg Vineet Garg
              vgarg Vineet Garg
              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 - 20m
                  20m