Skip to content

Commit

Permalink
[FLINK-24029][docs] Fix "dept_id" typo in SQL "Getting Started" page
Browse files Browse the repository at this point in the history
This closes apache#17025
  • Loading branch information
fekwang authored Sep 1, 2021
1 parent f946614 commit d2de244
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/content.zh/docs/dev/table/sql/gettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ CREATE TABLE employee_information (
例如,我们可以过滤出只在部门 `1` 中工作的员工。

```sql
SELECT * from employee_information WHERE DeptId = 1;
SELECT * from employee_information WHERE dept_id = 1;
```

---------------
Expand All @@ -125,7 +125,7 @@ SELECT
dept_id,
COUNT(*) as emp_count
FROM employee_information
GROUP BY dep_id;
GROUP BY dept_id;
```

这样的查询被认为是 _有状态的_。Flink 的高级容错机制将维持内部状态和一致性,因此即使遇到硬件故障,查询也始终返回正确结果。
Expand Down
4 changes: 2 additions & 2 deletions docs/content/docs/dev/table/sql/gettingStarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ A continuous query can be defined from this table that reads new rows as they ar
For example, we can filter for just those employees who work in department `1`.

```sql
SELECT * from employee_information WHERE DeptId = 1;
SELECT * from employee_information WHERE dept_id = 1;
```

---------------
Expand All @@ -126,7 +126,7 @@ SELECT
dept_id,
COUNT(*) as emp_count
FROM employee_information
GROUP BY dep_id;
GROUP BY dept_id;
```

Such queries are considered _stateful_. Flink's advanced fault-tolerance mechanism will maintain internal state and consistency, so queries always return the correct result, even in the face of hardware failure.
Expand Down

0 comments on commit d2de244

Please sign in to comment.