diff --git a/docs/content.zh/docs/dev/table/sql/gettingStarted.md b/docs/content.zh/docs/dev/table/sql/gettingStarted.md index 17ee4f11bc27a..d529fc6057536 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 2c9559c58b36f..2a909d14e2e95 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.