[ 
https://issues.apache.org/jira/browse/CALCITE-3880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Krisztian Kasa updated CALCITE-3880:
------------------------------------
    Description: 
{code}
LogicalProject(EMPNO=[$0])
  LogicalSortExchange(distribution=[hash[1]], collation=[[0]])
    LogicalProject(EMPNO=[$0], ENAME=[$1], DEPTNO=[$7])
      LogicalTableScan(table=[[scott, EMP]])
{code}
In this case the column `DEPTNO` is not required in LogicalSortExchange nor in 
the Project top on it.


> Add SortExchange support to RelFieldTrimmer
> -------------------------------------------
>
>                 Key: CALCITE-3880
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3880
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.21.0
>            Reporter: Krisztian Kasa
>            Assignee: Krisztian Kasa
>            Priority: Major
>
> {code}
> LogicalProject(EMPNO=[$0])
>   LogicalSortExchange(distribution=[hash[1]], collation=[[0]])
>     LogicalProject(EMPNO=[$0], ENAME=[$1], DEPTNO=[$7])
>       LogicalTableScan(table=[[scott, EMP]])
> {code}
> In this case the column `DEPTNO` is not required in LogicalSortExchange nor 
> in the Project top on it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to