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


##########
catalogs/catalog-lakehouse-paimon/src/main/java/org/apache/gravitino/catalog/lakehouse/paimon/GravitinoPaimonTable.java:
##########
@@ -204,12 +204,17 @@ private static void applyDistribution(Map<String, String> 
properties, Distributi
       return;
     }
 
-    List<String> bucketKeys = getBucketKeys(distribution);
-    if (!bucketKeys.isEmpty()) {
-      properties.put(BUCKET_KEY, String.join(",", bucketKeys));
+    int number = distribution.number();
+    // Paimon does not allow 'bucket-key' with bucket=-1 (dynamic mode).

Review Comment:
   could you show me the code or docs?



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