[ https://issues.apache.org/jira/browse/IGNITE-20095?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maksim Zhuravkov updated IGNITE-20095: -------------------------------------- Description: See examples in MapReduceSortAggregatePlannerTest: {code:java} assertPlan(testCase, isInstanceOf(IgniteReduceSortAggregate.class) .and(input(isInstanceOf(IgniteMapSortAggregate.class) //TODO: Why can't Map be pushed down to under 'exchange'. .and(input(isInstanceOf(IgniteSort.class) .and(s -> s.collation().equals(collation)) .and(input(isTableScan("TEST"))) )) )), disableRules ); {code} was:See examples in MapReduceSortAggregatePlannerTest. > Sql. Map part of MAP/REDUCE aggregate sometimes can not be moved past > Exchange. > ------------------------------------------------------------------------------- > > Key: IGNITE-20095 > URL: https://issues.apache.org/jira/browse/IGNITE-20095 > Project: Ignite > Issue Type: Improvement > Components: sql > Reporter: Maksim Zhuravkov > Priority: Minor > Labels: ignite-3 > > See examples in MapReduceSortAggregatePlannerTest: > {code:java} > assertPlan(testCase, > isInstanceOf(IgniteReduceSortAggregate.class) > .and(input(isInstanceOf(IgniteMapSortAggregate.class) > //TODO: Why can't Map be pushed down to under 'exchange'. > .and(input(isInstanceOf(IgniteSort.class) > .and(s -> > s.collation().equals(collation)) > .and(input(isTableScan("TEST"))) > )) > )), > disableRules > ); > {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)