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 d3384ac16 [doc] Add doc to 'partition.mark-done-action'
d3384ac16 is described below
commit d3384ac16d0ee955918f4ba8d2ddc756570877e4
Author: Jingsong <[email protected]>
AuthorDate: Thu Nov 14 23:01:32 2024 +0800
[doc] Add doc to 'partition.mark-done-action'
---
docs/content/flink/sql-write.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/docs/content/flink/sql-write.md b/docs/content/flink/sql-write.md
index 008fe4983..33adac5fb 100644
--- a/docs/content/flink/sql-write.md
+++ b/docs/content/flink/sql-write.md
@@ -257,7 +257,8 @@ CREATE TABLE my_partitioned_table (
'partition.timestamp-formatter'='yyyyMMdd',
'partition.timestamp-pattern'='$dt',
'partition.time-interval'='1 d',
- 'partition.idle-time-to-done'='15 m'
+ 'partition.idle-time-to-done'='15 m',
+ 'partition.mark-done-action'='done-partition'
);
```
@@ -267,4 +268,5 @@ CREATE TABLE my_partitioned_table (
and then it will be marked as done.
3. Thirdly, by default, partition mark done will create _SUCCESS file, the
content of _SUCCESS file is a json, contains
`creationTime` and `modificationTime`, they can help you understand if
there is any delayed data. You can also
- configure other actions.
+ configure other actions, like `'done-partition'`, for example, partition
`'dt=20240501'` with produce
+ `'dt=20240501.done'` done partition.