You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by op...@apache.org on 2022/05/26 02:29:45 UTC
[iceberg] branch master updated: Docs: Use 'execution.runtime-mode' in flink SQL client. (#4644)
This is an automated email from the ASF dual-hosted git repository.
openinx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iceberg.git
The following commit(s) were added to refs/heads/master by this push:
new 35b592a60 Docs: Use 'execution.runtime-mode' in flink SQL client. (#4644)
35b592a60 is described below
commit 35b592a60cfeca1d8d075f207df3c494339e8d46
Author: zepyhr <74...@users.noreply.github.com>
AuthorDate: Thu May 26 10:29:41 2022 +0800
Docs: Use 'execution.runtime-mode' in flink SQL client. (#4644)
---
docs/flink/flink-getting-started.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/flink/flink-getting-started.md b/docs/flink/flink-getting-started.md
index 045097ca4..454a217ea 100644
--- a/docs/flink/flink-getting-started.md
+++ b/docs/flink/flink-getting-started.md
@@ -364,10 +364,10 @@ Iceberg support both streaming and batch read in flink now. we could execute the
```sql
-- Execute the flink job in streaming mode for current session context
-SET execution.type = streaming
+SET execution.runtime-mode = streaming;
-- Execute the flink job in batch mode for current session context
-SET execution.type = batch
+SET execution.runtime-mode = batch;
```
### Flink batch read
@@ -376,7 +376,7 @@ If want to check all the rows in iceberg table by submitting a flink __batch__ j
```sql
-- Execute the flink job in batch mode for current session context
-SET execution.type = batch ;
+SET execution.runtime-mode = batch;
SELECT * FROM sample ;
```
@@ -386,7 +386,7 @@ Iceberg supports processing incremental data in flink streaming jobs which start
```sql
-- Submit the flink job in streaming mode for current session.
-SET execution.type = streaming ;
+SET execution.runtime-mode = streaming;
-- Enable this switch because streaming read SQL will provide few job options in flink SQL hint options.
SET table.dynamic-table-options.enabled=true;