FANNG1 commented on code in PR #4985:
URL: https://github.com/apache/gravitino/pull/4985#discussion_r1774633847


##########
api/src/main/java/org/apache/gravitino/rel/expressions/distributions/Strategy.java:
##########
@@ -50,7 +50,10 @@ public enum Strategy {
   RANGE,
 
   /** Distributes data evenly across partitions. */
-  EVEN;
+  EVEN,
+
+  /** Distributes data randomly across partitions or table. */
+  RANDOM;

Review Comment:
   IMO,  `HASH`, `RANGE` `RANDOM` are the implemetation how we do the 
distribution,  `even` is the something like distribution result,  both `HASH` 
and `RANDOM` are the implementation of  `EVEN`



-- 
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...@gravitino.apache.org

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

Reply via email to