korlov42 commented on a change in pull request #213:
URL: https://github.com/apache/ignite-3/pull/213#discussion_r670199243



##########
File path: 
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/trait/DistributionFunction.java
##########
@@ -135,6 +156,12 @@ public static boolean satisfy(DistributionFunction f0, 
DistributionFunction f1)
         @Override public RelDistribution.Type type() {
             return RelDistribution.Type.ANY;
         }
+
+        /** {@inheritDoc} */
+        @Override public <Row> Destination<Row> 
destination(ExecutionContext<Row> ctx, AffinityService affinityService,
+            ColocationGroup m, ImmutableIntList k) {
+            throw new AssertionError();

Review comment:
       Changed this to `IllegalStateException` since ANY distribution is not 
supposed to be a real distribution hence the `distribution` method should never 
be invoked




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to