[ 
https://issues.apache.org/jira/browse/CALCITE-5139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533556#comment-17533556
 ] 

Chunwei Lei commented on CALCITE-5139:
--------------------------------------

Sounds good to me.

> Improve Join print plan to add the CorrelationId info
> -----------------------------------------------------
>
>                 Key: CALCITE-5139
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5139
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.30.0
>            Reporter: xiong duan
>            Priority: Major
>
> When the Filter plan has CorrelationId info, The Filter output plan will be:
> {noformat}
>   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]]){noformat}
> 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. 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to