jianguotian opened a new pull request, #6964:
URL: https://github.com/apache/paimon/pull/6964

   <!-- Please specify the module before the PR name: [core] ... or [flink] ... 
-->
   
   ### Purpose
   
   <!-- Linking this pull request to the issue -->
   
   <!-- What is the purpose of the change -->
   PartitionStatistics add FIELD_BUCKET_COUNT:
   1. for fixed bucket and postpone bucket, get bucketCount from 
ManifestEntry.totalBuckets()
   2. for dynamic bucket(bucket=-1), ManifestEntry.totalBuckets() always return 
-1. Before commitSnapshot, use CommitScanner scan bucket entries to get bucket 
count 
   
   ### Tests
   
   <!-- List UT and IT cases to verify this change -->
   org.apache.paimon.flink.RESTCatalogITCase#testBucketCountStatistics:  
   verify bucketCount stats for 3 bucket mode
   
   ### API and Format
   
   <!-- Does this change affect API or storage format -->
   Partition and PartitionStatistics add new bucketCount field
   
   ### Documentation
   
   <!-- Does this change introduce a new feature -->
   rest-catalog-open-api doc:
   Partition and PartitionStatistics add bucketCount field
   


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