Skip to content

Commit 89f180c

Browse files
authored
[doc](mtmv) Add 3.1 external table rewrite notice (#2982)
## Versions - [x] dev - [x] 3.x - [ ] 2.1 - [ ] 2.0 ## Languages - [x] Chinese - [x] English ## Docs Checklist - [ ] Checked by AI - [ ] Test Cases Built
1 parent 7dca17c commit 89f180c

File tree

4 files changed

+39
-0
lines changed

4 files changed

+39
-0
lines changed

docs/query-acceleration/materialized-view/async-materialized-view/functions-and-demands.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,20 @@ group by
892892

893893
```
894894

895+
:::caution Notice
896+
Currently, partition compensation is supported, but compensation with conditional UNION ALLis not yet available.
897+
898+
For example, if a materialized view contains a WHEREclause—such as adding the filter WHERE l_shipdate > '2023-10-19'in the example above—while
899+
the query condition is WHERE l_shipdate > '2023-10-18', this scenario currently cannot be compensated via UNION ALL. Support for this case is planned for a future release.
900+
:::
901+
902+
:::info Note
903+
Starting from version 3.1.0
904+
The partition compensation rewrite feature supports the following types of partitioned tables: internal tables, Hive, Iceberg, and Paimon.
905+
906+
This means that the partition compensation mechanism can only be triggered when a partitioned materialized view is built on partitioned tables of the aforementioned types.
907+
:::
908+
895909
### Nested Materialized View Rewriting
896910

897911
The SQL definition of a materialized view can use another materialized view; this is called a nested materialized view.

i18n/zh-CN/docusaurus-plugin-content-docs/current/query-acceleration/materialized-view/async-materialized-view/functions-and-demands.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,11 @@ group by
881881
比如,如果物化视图带有 `where` 条件,以上述为例,如果构建物化的过滤条件加上 ` WHERE l_shipdate > '2023-10-19'`,而查询是 `WHERE l_shipdate > '2023-10-18'`,目前这种还无法通过 `UNION ALL` 补偿,待支持。
882882
:::
883883

884+
:::info 备注
885+
3.1.0 版本开始
886+
分区补偿改写功能支持以下类型的分区表:内表、Hive、Iceberg 与 Paimon。这意味着,仅当分区物化视图是基于上述类型的分区表构建时,才能触发分区补偿改写机制。
887+
:::
888+
884889
### 嵌套物化视图改写
885890

886891
物化视图的定义 SQL 可以使用物化视图,此物化视图称为嵌套物化视图。

i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/query-acceleration/materialized-view/async-materialized-view/functions-and-demands.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,11 @@ group by
881881
比如,如果物化视图带有 `where` 条件,以上述为例,如果构建物化的过滤条件加上 ` WHERE l_shipdate > '2023-10-19'`,而查询是 `WHERE l_shipdate > '2023-10-18'`,目前这种还无法通过 `UNION ALL` 补偿,待支持。
882882
:::
883883

884+
:::info 备注
885+
3.1.0 版本开始
886+
分区补偿改写功能支持以下类型的分区表:内表、Hive、Iceberg 与 Paimon。这意味着,仅当分区物化视图是基于上述类型的分区表构建时,才能触发分区补偿改写机制。
887+
:::
888+
884889
### 嵌套物化视图改写
885890

886891
物化视图的定义 SQL 可以使用物化视图,此物化视图称为嵌套物化视图。

versioned_docs/version-3.x/query-acceleration/materialized-view/async-materialized-view/functions-and-demands.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,21 @@ group by
892892

893893
```
894894

895+
:::caution Notice
896+
Currently, partition compensation is supported, but compensation with conditional UNION ALLis not yet available.
897+
898+
For example, if a materialized view contains a WHEREclause—such as adding the filter WHERE l_shipdate > '2023-10-19'in the example above—while
899+
the query condition is WHERE l_shipdate > '2023-10-18', this scenario currently cannot be compensated via UNION ALL. Support for this case is planned for a future release.
900+
:::
901+
902+
:::info Note
903+
Starting from version 3.1.0
904+
The partition compensation rewrite feature supports the following types of partitioned tables: internal tables, Hive, Iceberg, and Paimon.
905+
906+
This means that the partition compensation mechanism can only be triggered when a partitioned materialized view is built on partitioned tables of the aforementioned types.
907+
:::
908+
909+
895910
### Nested Materialized View Rewriting
896911

897912
The SQL definition of a materialized view can use another materialized view; this is called a nested materialized view.

0 commit comments

Comments
 (0)