This is an automated email from the ASF dual-hosted git repository. ron pushed a commit to branch release-1.20 in repository https://gitbox.apache.org/repos/asf/flink.git
commit 8244941ed18c9c063449759927b58b629110d89e Author: Feng Jin <[email protected]> AuthorDate: Mon Jul 8 10:06:36 2024 +0800 [FLINK-35754][doc] Fix typo in materialized table docs (cherry picked from commit d04c70fae033bb04ed7a3bb69832be55b4425700) --- docs/content.zh/docs/dev/table/materialized-table/statements.md | 2 +- docs/content/docs/dev/table/materialized-table/overview.md | 4 ++-- docs/content/docs/dev/table/materialized-table/statements.md | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/content.zh/docs/dev/table/materialized-table/statements.md b/docs/content.zh/docs/dev/table/materialized-table/statements.md index ceda0c92364..1838845d708 100644 --- a/docs/content.zh/docs/dev/table/materialized-table/statements.md +++ b/docs/content.zh/docs/dev/table/materialized-table/statements.md @@ -96,7 +96,7 @@ CREATE MATERIALIZED TABLE my_materialized_table 如上例所示,我们为 `ds` 分区列指定了 `date-formatter` 选项。每次调度时,调度时间将转换为相应的 `ds` 分区值。例如,在 `2024-01-01 00:00:00` 的调度时间下,只有分区 `ds = '2024-01-01'` 会被刷新。 <span class="label label-danger">注意</span> -- `partition.fields.#.date-formatter` 选项仅适用于全量模式。 +- [partition.fields.#.date-formatter]({{< ref "docs/dev/table/config" >}}#partition-fields-date-formatter) 选项仅适用于全量模式。 - [partition.fields.#.date-formatter]({{< ref "docs/dev/table/config" >}}#partition-fields-date-formatter) 中的字段必须是有效的字符串类型分区字段。 ## FRESHNESS diff --git a/docs/content/docs/dev/table/materialized-table/overview.md b/docs/content/docs/dev/table/materialized-table/overview.md index a2e6c830773..d49492e314a 100644 --- a/docs/content/docs/dev/table/materialized-table/overview.md +++ b/docs/content/docs/dev/table/materialized-table/overview.md @@ -45,8 +45,8 @@ Data freshness is a crucial attribute of a materialized table, serving two main - CONTINUOUS mode: Launches a Flink streaming job that continuously refreshes the materialized table data. - FULL mode: The workflow scheduler periodically triggers a Flink batch job to refresh the materialized table data. - **Determining the Refresh Frequency**. - - In CONTINUOUS mode, data freshness is converted into the `checkpoint` interval of the Flink streaming job currently. - - In FULL mode, data freshness is converted into the scheduling cycle of the workflow, e.g. cron expression. + - In CONTINUOUS mode, data freshness is converted into the `checkpoint` interval of the Flink streaming job. + - In FULL mode, data freshness is converted into the scheduling cycle of the workflow, e.g., a cron expression. ## Refresh Mode diff --git a/docs/content/docs/dev/table/materialized-table/statements.md b/docs/content/docs/dev/table/materialized-table/statements.md index 18d90675bb9..490652d0732 100644 --- a/docs/content/docs/dev/table/materialized-table/statements.md +++ b/docs/content/docs/dev/table/materialized-table/statements.md @@ -28,7 +28,7 @@ under the License. Flink SQL supports the following Materialized Table statements for now: - [CREATE MATERIALIZED TABLE](#create-materialized-table) -- [Alter MATERIALIZED TABLE](#alter-materialized-table) +- [ALTER MATERIALIZED TABLE](#alter-materialized-table) - [DROP MATERIALIZED TABLE](#drop-materialized-table) # CREATE MATERIALIZED TABLE @@ -60,7 +60,7 @@ AS <select_statement> ## PARTITIONED BY -`PARTITIONED BY` define an optional list of columns to partition the materialized table. A directory is created for each partition if this materialized table is used as a filesystem sink. +`PARTITIONED BY` defines an optional list of columns to partition the materialized table. A directory is created for each partition if this materialized table is used as a filesystem sink. **Example:** @@ -96,12 +96,12 @@ CREATE MATERIALIZED TABLE my_materialized_table As shown in the above example, we specified the date-formatter option for the `ds` partition column. During each scheduling, the scheduling time will be converted to the ds partition value. For example, for a scheduling time of `2024-01-01 00:00:00`, only the partition `ds = '2024-01-01'` will be refreshed. <span class="label label-danger">Note</span> -- The `partition.fields.#.date-formatter` option only works in full mode. +- The [partition.fields.#.date-formatter]({{< ref "docs/dev/table/config" >}}#partition-fields-date-formatter) option only works in full mode. - The field in the [partition.fields.#.date-formatter]({{< ref "docs/dev/table/config" >}}#partition-fields-date-formatter) must be a valid string type partition field. ## FRESHNESS -`FRESHNESS` define the data freshness of a materialized table. +`FRESHNESS` defines the data freshness of a materialized table. **FRESHNESS and Refresh Mode Relationship**
