alex-plekhanov commented on code in PR #11630: URL: https://github.com/apache/ignite/pull/11630#discussion_r1825493925
########## modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/exec/exp/agg/Accumulators.java: ########## @@ -1333,19 +1336,28 @@ private static class DistinctAccumulator<Row> extends AbstractAccumulator<Row> { /** */ private final Map<Object, Row> rows = new HashMap<>(); + /** */ + protected final List<Integer> argList; + /** */ private DistinctAccumulator(AggregateCall aggCall, RowHandler<Row> hnd, Supplier<Accumulator<Row>> accSup) { super(aggCall, hnd); + acc = accSup.get(); + + this.argList = super.argList().isEmpty() ? List.of(0) : super.argList(); Review Comment: `this.` is redundant ########## modules/calcite/src/test/sql/subquery/any_all/test_correlated_any_all.test: ########## @@ -0,0 +1,156 @@ +# name: test/sql/subquery/any_all/test_correlated_any_all.test +# description: Test correlated ANY/ALL subqueries +# group: [any_all] +# Ignore https://issues.apache.org/jira/browse/IGNITE-15580 Review Comment: Remove this line -- 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. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org