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

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 82cd7d2955 [refactor] Clarify option commit.force-create-snapshot 
(#5637)
82cd7d2955 is described below

commit 82cd7d29557b7470c69d58009b947293de8f6a41
Author: yuzelin <[email protected]>
AuthorDate: Tue May 20 18:55:20 2025 +0800

    [refactor] Clarify option commit.force-create-snapshot (#5637)
---
 docs/layouts/shortcodes/generated/core_configuration.html   | 2 +-
 paimon-api/src/main/java/org/apache/paimon/CoreOptions.java | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/layouts/shortcodes/generated/core_configuration.html 
b/docs/layouts/shortcodes/generated/core_configuration.html
index 0de4bf5794..4cd943f8b2 100644
--- a/docs/layouts/shortcodes/generated/core_configuration.html
+++ b/docs/layouts/shortcodes/generated/core_configuration.html
@@ -144,7 +144,7 @@ under the License.
             <td><h5>commit.force-create-snapshot</h5></td>
             <td style="word-wrap: break-word;">false</td>
             <td>Boolean</td>
-            <td>Whether to force create snapshot on commit.</td>
+            <td>In streaming job, whether to force creating snapshot when 
there is no data in this write-commit phase.</td>
         </tr>
         <tr>
             <td><h5>commit.max-retries</h5></td>
diff --git a/paimon-api/src/main/java/org/apache/paimon/CoreOptions.java 
b/paimon-api/src/main/java/org/apache/paimon/CoreOptions.java
index 28e7acda81..f3db58af6b 100644
--- a/paimon-api/src/main/java/org/apache/paimon/CoreOptions.java
+++ b/paimon-api/src/main/java/org/apache/paimon/CoreOptions.java
@@ -1491,7 +1491,8 @@ public class CoreOptions implements Serializable {
             key("commit.force-create-snapshot")
                     .booleanType()
                     .defaultValue(false)
-                    .withDescription("Whether to force create snapshot on 
commit.");
+                    .withDescription(
+                            "In streaming job, whether to force creating 
snapshot when there is no data in this write-commit phase.");
 
     public static final ConfigOption<Boolean> DELETION_VECTORS_ENABLED =
             key("deletion-vectors.enabled")

Reply via email to