github-actions[bot] opened a new pull request, #6299:
URL: https://github.com/apache/gravitino/pull/6299

   ### What changes were proposed in this pull request?
   
   Adjust the distribution mode for creating Iceberg table with none 
distribution.  the following is the Spark adjust logic, the flink is similar.
   
   ```java
     private DistributionMode defaultWriteDistributionMode() {
       if (table.sortOrder().isSorted()) {
         return RANGE;
       } else if (table.spec().isPartitioned()) {
         return HASH;
       } else {
         return NONE;
       }
     }
   ```
   
   ### Why are the changes needed?
   
   Fix: #6196 
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, add document
   
   ### How was this patch tested?
   
   add UT and IT
   


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