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 c222436982 [docs] Fixing documentation about lookup change log 
producers (#6860)
c222436982 is described below

commit c222436982d9f5b19127bbead8f4bbc6ce32fe8d
Author: junmuz <[email protected]>
AuthorDate: Tue Dec 23 01:18:21 2025 +0000

    [docs] Fixing documentation about lookup change log producers (#6860)
---
 docs/content/primary-key-table/changelog-producer.md        | 3 +--
 docs/layouts/shortcodes/generated/core_configuration.html   | 2 +-
 paimon-api/src/main/java/org/apache/paimon/CoreOptions.java | 4 +---
 3 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/docs/content/primary-key-table/changelog-producer.md 
b/docs/content/primary-key-table/changelog-producer.md
index 916e89a010..ffbe6f27b2 100644
--- a/docs/content/primary-key-table/changelog-producer.md
+++ b/docs/content/primary-key-table/changelog-producer.md
@@ -61,8 +61,7 @@ By specifying `'changelog-producer' = 'input'`, Paimon 
writers rely on their inp
 If your input can’t produce a complete changelog but you still want to get rid 
of the costly normalized operator, you
 may consider using the `'lookup'` changelog producer.
 
-By specifying `'changelog-producer' = 'lookup'`, Paimon will generate 
changelog through `'lookup'` before committing
-the data writing (You can also enable [Async Compaction]({{< ref 
"primary-key-table/compaction#asynchronous-compaction" >}})).
+By specifying `'changelog-producer' = 'lookup'`, Paimon will generate 
changelog through `'lookup'` during compaction (You can also enable [Async 
Compaction]({{< ref "primary-key-table/compaction#asynchronous-compaction" 
>}})). By default, lookup compaction is performed before committing written 
data unless disabled by `write-only` property.
 
 {{< img src="/img/changelog-producer-lookup.png">}}
 
diff --git a/docs/layouts/shortcodes/generated/core_configuration.html 
b/docs/layouts/shortcodes/generated/core_configuration.html
index f485e89853..269625f718 100644
--- a/docs/layouts/shortcodes/generated/core_configuration.html
+++ b/docs/layouts/shortcodes/generated/core_configuration.html
@@ -126,7 +126,7 @@ under the License.
             <td><h5>changelog-producer</h5></td>
             <td style="word-wrap: break-word;">none</td>
             <td><p>Enum</p></td>
-            <td>Whether to double write to a changelog file. This changelog 
file keeps the details of data changes, it can be read directly during stream 
reads. This can be applied to tables with primary keys. <br /><br />Possible 
values:<ul><li>"none": No changelog file.</li><li>"input": Double write to a 
changelog file when flushing memory table, the changelog is from 
input.</li><li>"full-compaction": Generate changelog files with each full 
compaction.</li><li>"lookup": Generate change [...]
+            <td>Whether to double write to a changelog file. This changelog 
file keeps the details of data changes, it can be read directly during stream 
reads. This can be applied to tables with primary keys. <br /><br />Possible 
values:<ul><li>"none": No changelog file.</li><li>"input": Double write to a 
changelog file when flushing memory table, the changelog is from 
input.</li><li>"full-compaction": Generate changelog files with each full 
compaction.</li><li>"lookup": Generate change [...]
         </tr>
         <tr>
             <td><h5>changelog-producer.row-deduplicate</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 7ddeaff350..1060b7deff 100644
--- a/paimon-api/src/main/java/org/apache/paimon/CoreOptions.java
+++ b/paimon-api/src/main/java/org/apache/paimon/CoreOptions.java
@@ -3494,9 +3494,7 @@ public class CoreOptions implements Serializable {
 
         FULL_COMPACTION("full-compaction", "Generate changelog files with each 
full compaction."),
 
-        LOOKUP(
-                "lookup",
-                "Generate changelog files through 'lookup' before committing 
the data writing.");
+        LOOKUP("lookup", "Generate changelog files through 'lookup' 
compaction.");
 
         private final String value;
         private final String description;

Reply via email to