tledkov-gridgain commented on a change in pull request #8869:
URL: https://github.com/apache/ignite/pull/8869#discussion_r595360717
##########
File path:
modules/calcite/src/test/java/org/apache/ignite/internal/processors/query/calcite/planner/AggregatePlannerTest.java
##########
@@ -223,42 +222,51 @@ public void mapReduceDistinctWithIndex() throws Exception
{
enum AggregateAlgorithm {
/** */
SORT(
- IgniteSortAggregate.class,
+ IgniteSingleSortAggregate.class,
IgniteMapSortAggregate.class,
IgniteReduceSortAggregate.class,
- "HashAggregateConverterRule"
+ new String[] {"HashSingleAggregateConverterRule",
"HashMapReduceAggregateConverterRule"},
+ new String[] {"HashSingleAggregateConverterRule",
"HashMapReduceAggregateConverterRule",
+ "SortSingleAggregateConverterRule"}
),
/** */
HASH(
- IgniteHashAggregate.class,
+ IgniteSingleHashAggregate.class,
IgniteMapHashAggregate.class,
IgniteReduceHashAggregate.class,
- "SortAggregateConverterRule"
+ new String[] {"SortSingleAggregateConverterRule",
"SortMapReduceAggregateConverterRule"},
+ new String[] {"SortSingleAggregateConverterRule",
"SortMapReduceAggregateConverterRule",
+ "HashSingleAggregateConverterRule"}
);
/** */
- public final Class<? extends IgniteAggregateBase> single;
+ public final Class<? extends IgniteSingleAggregateBase> single;
/** */
- public final Class<? extends IgniteAggregate> map;
+ public final Class<? extends IgniteMapAggregateBase> map;
/** */
public final Class<? extends IgniteReduceAggregateBase> reduce;
/** */
- public final String ruleToDisable;
+ public final String[] rulesToDisableOtherAlgorithm;
+
+ /** */
+ public final String[] rulesToDisableOtherAlgorithmAndSingle;
Review comment:
The test `mapReduceDistinctWithIndex` moved to separate class
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]