[
https://issues.apache.org/jira/browse/CALCITE-6878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17936661#comment-17936661
]
xiong duan commented on CALCITE-6878:
-------------------------------------
Fixed in
[02856ec|https://github.com/apache/calcite/commit/02856ec340ca7314c787d57fd01f3e761d777278].
Thanks for the review [~rubenql] ,[~mbudiu] and [~suibianwanwan33] .
> Implement FilterSortTransposeRule
> ---------------------------------
>
> Key: CALCITE-6878
> URL: https://issues.apache.org/jira/browse/CALCITE-6878
> Project: Calcite
> Issue Type: New Feature
> Reporter: Zhen Chen
> Assignee: Zhen Chen
> Priority: Major
> Labels: pull-request-available
>
> Do we need this rule?
> from:
> {code:java}
> LogicalFilter(condition=[<($0, 10)])
> LogicalSort(sort0=[$0], dir0=[ASC])
> LogicalProject(EMPNO=[$0])
> LogicalTableScan(table=[[scott, EMP]]) {code}
> to:
> {code:java}
> LogicalSort(sort0=[$0], dir0=[ASC])
> LogicalFilter(condition=[<($0, 10)])
> LogicalProject(EMPNO=[$0])
> LogicalTableScan(table=[[scott, EMP]]) {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)