Skip to content

Commit

Permalink
[docs] Fix typo in website/docs/engine-flink/reads.md (#264)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunningDB authored Dec 25, 2024
1 parent ae2052d commit 76f4390
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/docs/engine-flink/reads.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_position: 4
---

# Flink Reads
Fluss support streaming and batch read with [Apache Flink](https://flink.apache.org/)'s SQL & Table API. Execute the following SQL command to switch execution mode from streaming to batch, and vice versa:
Fluss supports streaming and batch read with [Apache Flink](https://flink.apache.org/)'s SQL & Table API. Execute the following SQL command to switch execution mode from streaming to batch, and vice versa:
```sql
-- Execute the flink job in streaming mode for current session context
SET 'execution.runtime-mode' = 'streaming';
Expand Down Expand Up @@ -32,7 +32,7 @@ SELECT * FROM my_table /*+ OPTIONS('scan.startup.mode' = 'latest') */;
## Batch Read

### Limit Read
The Fluss sources supports limiting reads for both primary-key tables and log tables, making it convenient to preview the latest `N` records in a table.
The Fluss source supports limiting reads for both primary-key tables and log tables, making it convenient to preview the latest `N` records in a table.

#### Example
1. Create a table and prepare data
Expand Down Expand Up @@ -100,7 +100,7 @@ SELECT * FROM pk_table WHERE c_custkey = 1;
```

### Aggregations
The Fluss source support pushdown count aggregation for the log table in batch mode. It is useful to preview the total number of the log table;
The Fluss source supports pushdown count aggregation for the log table in batch mode. It is useful to preview the total number of the log table;
```sql
-- Execute the flink job in batch mode for current session context
SET 'execution.runtime-mode' = 'batch';
Expand Down

0 comments on commit 76f4390

Please sign in to comment.