dwangatt commented on code in PR #9370:
URL: https://github.com/apache/paimon/pull/9370#discussion_r3947150189


##########
paimon-core/src/main/java/org/apache/paimon/table/AbstractFileStoreTable.java:
##########
@@ -256,7 +259,8 @@ protected CatalogEnvironment newCatalogEnvironment(String 
branch) {
     public RowKeyExtractor createRowKeyExtractor() {
         switch (bucketMode()) {
             case HASH_FIXED:
-                return new FixedBucketRowKeyExtractor(schema());
+                return new FixedBucketRowKeyExtractor(
+                        schema(), PartitionBucketMapping.loadFromTable(this));

Review Comment:
   @JingsongLi I added an extra parameter to related functions so that this 
mapping can be passed to them instead of loading them multiple times.



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