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

github-merge-queue[bot] pushed a commit to branch 
gh-readonly-queue/dev/pr-12427-eb76f81c823af25c9f4d75ba41b986bc8a0dab57
in repository https://gitbox.apache.org/repos/asf/seatunnel.git

commit deb16a3c3152f0349a587a504dccc997a131a9d7
Author: Rango <[email protected]>
AuthorDate: Thu Sep 24 12:19:21 2026 +0000

    [docs][jdbc] Fix sample sharding default on Postgres and Kingbase pages 
(#12427)
---
 docs/en/connectors/source/Kingbase.md   | 2 +-
 docs/en/connectors/source/PostgreSQL.md | 2 +-
 docs/zh/connectors/source/Kingbase.md   | 2 +-
 docs/zh/connectors/source/PostgreSQL.md | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/en/connectors/source/Kingbase.md 
b/docs/en/connectors/source/Kingbase.md
index ae7eec540f..2423b2b131 100644
--- a/docs/en/connectors/source/Kingbase.md
+++ b/docs/en/connectors/source/Kingbase.md
@@ -77,7 +77,7 @@ Read external data source data through JDBC.
 | split.size                                 | Int        | No       | 8096    
        | The split size (number of rows) of table, captured tables are split 
into multiple splits when read of table.                                        
                                                                                
                                                                                
                                                                                
                [...]
 | split.even-distribution.factor.lower-bound | Double     | No       | 0.05    
        | The lower bound of the chunk key distribution factor. This factor is 
used to determine whether the table data is evenly distributed. If the 
distribution factor is calculated to be greater than or equal to this lower 
bound (i.e., (MAX(id) - MIN(id) + 1) / row count), the table chunks would be 
optimized for even distribution. Otherwise, if the distribution factor is less, 
the table will be considered a [...]
 | split.even-distribution.factor.upper-bound | Double     | No       | 100     
        | The upper bound of the chunk key distribution factor. This factor is 
used to determine whether the table data is evenly distributed. If the 
distribution factor is calculated to be less than or equal to this upper bound 
(i.e., (MAX(id) - MIN(id) + 1) / row count), the table chunks would be 
optimized for even distribution. Otherwise, if the distribution factor is 
greater, the table will be considered a [...]
-| split.sample-sharding.threshold            | Int        | No       | 10000   
        | This configuration specifies the threshold of estimated shard count 
to trigger the sample sharding strategy. When the distribution factor is 
outside the bounds specified by 
`chunk-key.even-distribution.factor.upper-bound` and 
`chunk-key.even-distribution.factor.lower-bound`, and the estimated shard count 
(calculated as approximate row count / chunk size) exceeds this threshold, the 
sample sharding st [...]
+| split.sample-sharding.threshold            | Int        | No       | 1000    
        | This configuration specifies the threshold of estimated shard count 
to trigger the sample sharding strategy. When the distribution factor is 
outside the bounds specified by 
`chunk-key.even-distribution.factor.upper-bound` and 
`chunk-key.even-distribution.factor.lower-bound`, and the estimated shard count 
(calculated as approximate row count / chunk size) exceeds this threshold, the 
sample sharding st [...]
 | split.inverse-sampling.rate                | Int        | No       | 1000    
        | The inverse of the sampling rate used in the sample sharding 
strategy. For example, if this value is set to 1000, it means a 1/1000 sampling 
rate is applied during the sampling process. This option provides flexibility 
in controlling the granularity of the sampling, thus affecting the final number 
of shards. It's especially useful when dealing with very large datasets where a 
lower sampling rate is p [...]
 | common-options               |            | No       | -               | 
Source plugin common parameters, please refer to [Source Common 
Options](../common-options/source-common-options.md) for details                
                                                                                
                                                     |
 
diff --git a/docs/en/connectors/source/PostgreSQL.md 
b/docs/en/connectors/source/PostgreSQL.md
index 6c01374871..7427c59ff6 100644
--- a/docs/en/connectors/source/PostgreSQL.md
+++ b/docs/en/connectors/source/PostgreSQL.md
@@ -101,7 +101,7 @@ Read external data source data through JDBC.
 | split.size                                 | Int        | No       | 8096    
        | The split size (number of rows) of table, captured tables are split 
into multiple splits when read of table.                                        
                                                                                
                                                                                
                                                                                
                [...]
 | split.even-distribution.factor.lower-bound | Double     | No       | 0.05    
        | The lower bound of the chunk key distribution factor. This factor is 
used to determine whether the table data is evenly distributed. If the 
distribution factor is calculated to be greater than or equal to this lower 
bound (i.e., (MAX(id) - MIN(id) + 1) / row count), the table chunks would be 
optimized for even distribution. Otherwise, if the distribution factor is less, 
the table will be considered a [...]
 | split.even-distribution.factor.upper-bound | Double     | No       | 100     
        | The upper bound of the chunk key distribution factor. This factor is 
used to determine whether the table data is evenly distributed. If the 
distribution factor is calculated to be less than or equal to this upper bound 
(i.e., (MAX(id) - MIN(id) + 1) / row count), the table chunks would be 
optimized for even distribution. Otherwise, if the distribution factor is 
greater, the table will be considered a [...]
-| split.sample-sharding.threshold            | Int        | No       | 10000   
        | This configuration specifies the threshold of estimated shard count 
to trigger the sample sharding strategy. When the distribution factor is 
outside the bounds specified by 
`chunk-key.even-distribution.factor.upper-bound` and 
`chunk-key.even-distribution.factor.lower-bound`, and the estimated shard count 
(calculated as approximate row count / chunk size) exceeds this threshold, the 
sample sharding st [...]
+| split.sample-sharding.threshold            | Int        | No       | 1000    
        | This configuration specifies the threshold of estimated shard count 
to trigger the sample sharding strategy. When the distribution factor is 
outside the bounds specified by 
`chunk-key.even-distribution.factor.upper-bound` and 
`chunk-key.even-distribution.factor.lower-bound`, and the estimated shard count 
(calculated as approximate row count / chunk size) exceeds this threshold, the 
sample sharding st [...]
 | split.inverse-sampling.rate                | Int        | No       | 1000    
        | The inverse of the sampling rate used in the sample sharding 
strategy. For example, if this value is set to 1000, it means a 1/1000 sampling 
rate is applied during the sampling process. This option provides flexibility 
in controlling the granularity of the sampling, thus affecting the final number 
of shards. It's especially useful when dealing with very large datasets where a 
lower sampling rate is p [...]
 | common-options                             |            | No       | -       
        | Source plugin common parameters, please refer to [Source Common 
Options](../common-options/source-common-options.md) for details                
                                                                                
                                                                                
                                                                                
                    [...]
 
diff --git a/docs/zh/connectors/source/Kingbase.md 
b/docs/zh/connectors/source/Kingbase.md
index 60ca34dd99..f98a6d6383 100644
--- a/docs/zh/connectors/source/Kingbase.md
+++ b/docs/zh/connectors/source/Kingbase.md
@@ -77,7 +77,7 @@ import ChangeLog from '../changelog/connector-jdbc.md';
 | split.size                                 | Int        | 否    | 8096  | 
表的分割大小(行数),当读取表时,捕获的表会被分割成多个分片。                                                 
                                                                                
                                                       |
 | split.even-distribution.factor.lower-bound | Double     | 否    | 0.05  | 
分片键分布因子的下限。该因子用于判断表数据的分布是否均匀。如果计算得到的分布因子大于或等于该下限(即,(MAX(id) - MIN(id) + 1) / 
行数),则会对表的分片进行优化,以确保数据的均匀分布。反之,如果分布因子较低,则表数据将被视为分布不均匀。如果估算的分片数量超过 
`sample-sharding.threshold` 所指定的值,则会采用基于采样的分片策略。默认值为 0.05。               |
 | split.even-distribution.factor.upper-bound | Double     | 否    | 100   | 
分片键分布因子的上限。该因子用于判断表数据的分布是否均匀。如果计算得到的分布因子小于或等于该上限(即,(MAX(id) - MIN(id) + 1) / 
行数),则会对表的分片进行优化,以确保数据的均匀分布。反之,如果分布因子较大,则表数据将被视为分布不均匀,并且如果估算的分片数量超过 
`sample-sharding.threshold` 所指定的值,则会采用基于采样的分片策略。默认值为 100.0。            |
-| split.sample-sharding.threshold            | Int        | 否    | 10000 | 
此配置指定了触发样本分片策略的估算分片数阈值。当分布因子超出由 
`chunk-key.even-distribution.factor.upper-bound` 和 
`chunk-key.even-distribution.factor.lower-bound` 指定的范围,并且估算的分片数量(计算方法为大致行数 / 
分片大小)超过此阈值时,将使用样本分片策略。此配置有助于更高效地处理大型数据集。默认值为 1000 个分片。 |
+| split.sample-sharding.threshold            | Int        | 否    | 1000  | 
此配置指定了触发样本分片策略的估算分片数阈值。当分布因子超出由 
`chunk-key.even-distribution.factor.upper-bound` 和 
`chunk-key.even-distribution.factor.lower-bound` 指定的范围,并且估算的分片数量(计算方法为大致行数 / 
分片大小)超过此阈值时,将使用样本分片策略。此配置有助于更高效地处理大型数据集。默认值为 1000 个分片。 |
 | split.inverse-sampling.rate                | Int        | 否    | 1000  | 
样本分片策略中使用的采样率的倒数。例如,如果该值设置为 1000,则表示在采样过程中应用 1/1000 
的采样率。此选项提供了灵活性,可以控制采样的粒度,从而影响最终的分片数量。特别适用于处理非常大的数据集,在这种情况下通常会选择较低的采样率。默认值为 
1000。                                                                           
        |
 | common-options | | 否 | - | 源插件通用参数,请参考 
[源通用选项](../common-options/source-common-options.md) 详见。 |
 
diff --git a/docs/zh/connectors/source/PostgreSQL.md 
b/docs/zh/connectors/source/PostgreSQL.md
index f135c037a2..81c4eecdda 100644
--- a/docs/zh/connectors/source/PostgreSQL.md
+++ b/docs/zh/connectors/source/PostgreSQL.md
@@ -101,7 +101,7 @@ import ChangeLog from '../changelog/connector-jdbc.md';
 | split.size                                 | Int         | 否   | 8096        
    | 表的拆分大小(行数),被捕获的表在读取时被拆分为多个拆分。                                             
                                                                                
                                                                                
                                                                                
                                                                                
              [...]
 | split.even-distribution.factor.lower-bound | Double        | 否   | 0.05      
      | 块键分布因子的下限。此因子用于确定表数据是否均匀分布。<br/> 如果计算出的分布因子大于或等于此下限(即 (MAX(id) - 
MIN(id) + 1) / 行数),则表块将优化为均匀分布。否则,如果分布因子较小,则将视为不均匀分布,当估计的分片数超过 
`sample-sharding.threshold` 指定的值时,将使用基于采样的分片策略。默认值为 0.05。  |
 | split.even-distribution.factor.upper-bound | Double        | 否   | 100       
      | 块键分布因子的上限。此因子用于确定表数据是否均匀分布。<br/> 如果计算出的分布因子小于或等于此上限(即 (MAX(id) - 
MIN(id) + 1) / 行数),则表块将优化为均匀分布。否则,如果分布因子较大,则将视为不均匀分布,当估计的分片数超过 
`sample-sharding.threshold` 指定的值时,将使用基于采样的分片策略。默认值为 100.0。 |
-| split.sample-sharding.threshold            | Int         | 否   | 10000       
    | 此配置指定触发样本分片策略的估计分片数阈值。<br/> 当分布因子超出 
`chunk-key.even-distribution.factor.upper-bound` 和 
`chunk-key.even-distribution.factor.lower-bound` 指定的范围时,且估计的分片数(计算为近似行数 / 
块大小)超过此阈值,将使用样本分片策略。这可以帮助更高效地处理大数据集。默认值为 1000 个分片。                              
                                                     |
+| split.sample-sharding.threshold            | Int         | 否   | 1000        
    | 此配置指定触发样本分片策略的估计分片数阈值。<br/> 当分布因子超出 
`chunk-key.even-distribution.factor.upper-bound` 和 
`chunk-key.even-distribution.factor.lower-bound` 指定的范围时,且估计的分片数(计算为近似行数 / 
块大小)超过此阈值,将使用样本分片策略。这可以帮助更高效地处理大数据集。默认值为 1000 个分片。                              
                                                     |
 | split.inverse-sampling.rate                | Int         | 否   | 1000        
    | 在样本分片策略中使用的采样率的逆数。例如,如果此值设置为 1000,表示在采样过程中应用 1/1000 
的采样率。此选项提供了控制采样粒度的灵活性,从而影响最终的分片数量。在处理非常大的数据集时,较低的采样率尤其有用。默认值为 1000。             
                                                                                
                                                                 |
 |
 ## 并行读取器

Reply via email to