chunweilei commented on a change in pull request #2627:
URL: https://github.com/apache/calcite/pull/2627#discussion_r766299335



##########
File path: core/src/main/java/org/apache/calcite/rel/RelDistributions.java
##########
@@ -103,7 +103,7 @@ private RelDistributionImpl(Type type, ImmutableIntList 
keys) {
           || Ordering.natural().isOrdered(keys)
           : "key columns of hash distribution must be in order";
       assert type == Type.HASH_DISTRIBUTED
-          || type == Type.RANDOM_DISTRIBUTED
+          || type == Type.RANGE_DISTRIBUTED
           || keys.isEmpty();
     }

Review comment:
       @rendel Thank you for reporting this. I think it is a bug. Could you 
file a JIRA for this? 




-- 
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: commits-unsubscr...@calcite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to