You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ja...@apache.org on 2021/09/01 06:46:56 UTC
[flink] branch release-1.14 updated: [FLINK-24029][docs] Fix
"dept_id" typo in SQL "Getting Started" page
This is an automated email from the ASF dual-hosted git repository.
jark pushed a commit to branch release-1.14
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.14 by this push:
new ad44b55 [FLINK-24029][docs] Fix "dept_id" typo in SQL "Getting Started" page
ad44b55 is described below
commit ad44b550823a53ec00714959f11208086941dc03
Author: kylewang <zh...@gmail.com>
AuthorDate: Wed Sep 1 14:46:03 2021 +0800
[FLINK-24029][docs] Fix "dept_id" typo in SQL "Getting Started" page
This closes #17025
---
docs/content.zh/docs/dev/table/sql/gettingStarted.md | 4 ++--
docs/content/docs/dev/table/sql/gettingStarted.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/content.zh/docs/dev/table/sql/gettingStarted.md b/docs/content.zh/docs/dev/table/sql/gettingStarted.md
index 17ee4f1..d529fc6 100644
--- a/docs/content.zh/docs/dev/table/sql/gettingStarted.md
+++ b/docs/content.zh/docs/dev/table/sql/gettingStarted.md
@@ -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;
```
---------------
@@ -125,7 +125,7 @@ SELECT
dept_id,
COUNT(*) as emp_count
FROM employee_information
-GROUP BY dep_id;
+GROUP BY dept_id;
```
这样的查询被认为是 _有状态的_。Flink 的高级容错机制将维持内部状态和一致性,因此即使遇到硬件故障,查询也始终返回正确结果。
diff --git a/docs/content/docs/dev/table/sql/gettingStarted.md b/docs/content/docs/dev/table/sql/gettingStarted.md
index 2c9559c..2a909d1 100644
--- a/docs/content/docs/dev/table/sql/gettingStarted.md
+++ b/docs/content/docs/dev/table/sql/gettingStarted.md
@@ -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;
```
---------------
@@ -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.