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/incubator-paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 3e5d77e5c [core] Document InnerTableCommit.ignoreEmptyCommit
3e5d77e5c is described below
commit 3e5d77e5c4ebf2bde7ebf60b1ae949e6ca9ef05d
Author: Jingsong <[email protected]>
AuthorDate: Thu Aug 31 18:30:02 2023 +0800
[core] Document InnerTableCommit.ignoreEmptyCommit
---
.../src/main/java/org/apache/paimon/table/sink/InnerTableCommit.java | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/paimon-core/src/main/java/org/apache/paimon/table/sink/InnerTableCommit.java
b/paimon-core/src/main/java/org/apache/paimon/table/sink/InnerTableCommit.java
index 9e4c1f288..8a8033aed 100644
---
a/paimon-core/src/main/java/org/apache/paimon/table/sink/InnerTableCommit.java
+++
b/paimon-core/src/main/java/org/apache/paimon/table/sink/InnerTableCommit.java
@@ -36,6 +36,9 @@ public interface InnerTableCommit extends StreamTableCommit,
BatchTableCommit {
* <li>For Streaming: the default value of 'ignoreEmptyCommit' is false.
* <li>For Batch: the default value of 'ignoreEmptyCommit' is true.
* </ul>
+ *
+ * <p>If there are no new files or compact files at the same time, no new
commit will be
+ * generated regardless of the configuration (No one trigger commit
interface).
*/
InnerTableCommit ignoreEmptyCommit(boolean ignoreEmptyCommit);
}