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 5e10f732b [doc] Add file-creation-time-millis example in flink-api
5e10f732b is described below
commit 5e10f732b5ee316185d77381e2c1c2a238b925ce
Author: Jingsong <[email protected]>
AuthorDate: Tue Apr 16 12:15:27 2024 +0800
[doc] Add file-creation-time-millis example in flink-api
---
docs/content/program-api/flink-api.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docs/content/program-api/flink-api.md
b/docs/content/program-api/flink-api.md
index 746258629..be52e3ab4 100644
--- a/docs/content/program-api/flink-api.md
+++ b/docs/content/program-api/flink-api.md
@@ -149,6 +149,8 @@ public class ReadFromTable {
Catalog catalog =
FlinkCatalogFactory.createPaimonCatalog(catalogOptions);
Table table = catalog.getTable(Identifier.create("my_db", "T"));
+ // table =
table.copy(Collections.singletonMap("scan.file-creation-time-millis", "..."));
+
FlinkSourceBuilder builder = new FlinkSourceBuilder(table).env(env);
// builder.sourceBounded(true);