Skip to content

Commit dd5260a

Browse files
authored
[docs] Fix unstable sql in docs getting started (#29)
1 parent 06fed22 commit dd5260a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

website/docs/engine-flink/getting-started.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,12 @@ To preview some data in a table, you can use the LIMIT query:
140140
SELECT * FROM pk_table LIMIT 10;
141141
```
142142

143-
Fluss supports processing incremental data in flink streaming jobs which starts from a timestamp:
143+
Fluss supports processing incremental data in flink streaming jobs:
144144
```sql title="Flink SQL Client"
145145
-- Submit the flink job in streaming mode for current session.
146146
SET 'execution.runtime-mode' = 'streaming';
147-
-- reading changelogs from the primary-key table since 2023-12-09 00:00:00
148-
SELECT * FROM pk_table /*+ OPTIONS('scan.startup.mode' = 'timestamp',
149-
'scan.startup.timestamp' = '2023-12-09 00:00:00') */;
147+
-- reading changelogs from the primary-key table from beginning.
148+
SELECT * FROM pk_table /*+ OPTIONS('scan.startup.mode' = 'earliest') */;
150149
```
151150

152151
## Type Conversion

0 commit comments

Comments
 (0)