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

Improve Join print plan to add the CorrelationId info

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      When the Filter plan has CorrelationId info, The Filter output plan will be:

        LogicalFilter(condition=[=($10, $SCALAR_QUERY({
      LogicalAggregate(group=[{}], EXPR$0=[MAX($0)])
        LogicalProject(NAME=[$1])
          LogicalFilter(condition=[=($0, $cor0.DEPTNO0)])
            LogicalTableScan(table=[[CATALOG, SALES, DEPT]])
      }))], variablesSet=[[$cor0]])

      This plan makes the user know this plan includes the variables set. But when the Join include the CorrelationId info, it didn't output it. 

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nobigo xiong duan
            nobigo xiong duan
            Votes:
            0 Vote for this issue
            Watchers:
            4 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 - 10m
                10m

                Slack

                  Issue deployment