aokolnychyi commented on a change in pull request #2064:
URL: https://github.com/apache/iceberg/pull/2064#discussion_r555369070



##########
File path: core/src/main/java/org/apache/iceberg/TableProperties.java
##########
@@ -138,6 +138,9 @@ private TableProperties() {
   public static final String ENGINE_HIVE_ENABLED = "engine.hive.enabled";
   public static final boolean ENGINE_HIVE_ENABLED_DEFAULT = false;
 
+  public static final String WRITE_SHUFFLE_BY_PARTITION = 
"write.shuffle-by.partition";

Review comment:
       In Spark, our plan was to support the following commands:
   
   ```
   -- global
   ALTER TABLE WRITE
   ORDERED BY p1, bucket(id, 128), c1, c2
   
   -- hash + local sort
   ALTER TABLE WRITE
   DISTRIBUTED BY p1, bucket(id, 128)
   LOCALLY ORDERED BY p1, bucket(id, 128), c1, c2
   
   -- local sort
   ALTER TABLE WRITE
   LOCALLY ORDERED BY p1, bucket(id, 128), c1, c2
   ```




----------------------------------------------------------------
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to