[
https://issues.apache.org/jira/browse/CALCITE-3880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoltan Haindrich resolved CALCITE-3880.
---------------------------------------
Fix Version/s: 1.23.0
Resolution: Fixed
fixed in
[8849b62e7baff84dcd4262f47809e87a38be7b10|https://github.com/apache/calcite/commit/8849b62e7baff84dcd4262f47809e87a38be7b10].
Thank you [~kkasa]!
> 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
> Labels: pull-request-available
> Fix For: 1.23.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> {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)