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 93552a491 [doc] Document streaming&batch mode
93552a491 is described below
commit 93552a49183c2637bb282aa14375002076ae57d4
Author: Jingsong <[email protected]>
AuthorDate: Fri Jul 14 09:49:00 2023 +0800
[doc] Document streaming&batch mode
---
docs/content/how-to/querying-tables.md | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/docs/content/how-to/querying-tables.md
b/docs/content/how-to/querying-tables.md
index be95b0d36..bb6a014ba 100644
--- a/docs/content/how-to/querying-tables.md
+++ b/docs/content/how-to/querying-tables.md
@@ -32,6 +32,11 @@ Just like all other tables, Paimon tables can be queried
with `SELECT` statement
Paimon's batch read returns all the data in a snapshot of the table. By
default, batch reads return the latest snapshot.
+```sql
+-- Flink SQL
+SET 'execution.runtime-mode' = 'batch';
+```
+
### Batch Time Travel
Paimon batch reads with time travel can specify a snapshot or a tag and read
the corresponding data.
@@ -182,6 +187,11 @@ and continue to read the latest changes.
Paimon by default ensures that your startup is properly processed with the
full amount
included.
+```sql
+-- Flink SQL
+SET 'execution.runtime-mode' = 'streaming';
+```
+
You can also do streaming read without the snapshot data, you can use `latest`
scan mode:
{{< tabs "latest streaming read" >}}