This is an automated email from the ASF dual-hosted git repository.

JingsongLi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-rust.git


The following commit(s) were added to refs/heads/main by this push:
     new 4df2bcc2 docs: correct three wrong default values in CoreOptions doc 
comments (#640)
4df2bcc2 is described below

commit 4df2bcc2e8d245aafba98c8014e710098ef7ac6b
Author: jackylee <[email protected]>
AuthorDate: Mon Aug 3 16:41:39 2026 +0800

    docs: correct three wrong default values in CoreOptions doc comments (#640)
---
 crates/paimon/src/spec/core_options.rs | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/crates/paimon/src/spec/core_options.rs 
b/crates/paimon/src/spec/core_options.rs
index 81d85ed4..20216368 100644
--- a/crates/paimon/src/spec/core_options.rs
+++ b/crates/paimon/src/spec/core_options.rs
@@ -925,7 +925,7 @@ impl<'a> CoreOptions<'a> {
             .unwrap_or(DEFAULT_MANIFEST_MERGE_MIN_COUNT)
     }
 
-    /// Number of buckets for the table. Default is 1.
+    /// Number of buckets for the table. Default is -1 (dynamic bucket).
     pub fn bucket(&self) -> i32 {
         self.options
             .get(BUCKET_OPTION)
@@ -951,7 +951,11 @@ impl<'a> CoreOptions<'a> {
         }
     }
 
-    /// Target file size for data files. Default is 128MB.
+    /// Target file size for data files. Default is 256MB.
+    ///
+    /// Java leaves `target-file-size` without a default and documents 128 MB 
for
+    /// primary-key tables and 256 MB for append tables; this returns the 
append
+    /// value for both.
     pub fn target_file_size(&self) -> i64 {
         self.options
             .get("target-file-size")
@@ -1141,7 +1145,7 @@ impl<'a> CoreOptions<'a> {
 
     /// Target row number per bucket for dynamic bucket mode (bucket=-1).
     /// When a bucket reaches this number, a new bucket is created.
-    /// Default is 200,000 (matching Java Paimon).
+    /// Default is 200,000. Java Paimon defaults this to 2,000,000.
     pub fn dynamic_bucket_target_row_num(&self) -> i64 {
         self.options
             .get(DYNAMIC_BUCKET_TARGET_ROW_NUM_OPTION)

Reply via email to