Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,16 @@ Join rewriting refers to when the tables used in the query and the materializati
In this case, the optimizer will attempt transparent rewriting by either joining the input of the materialized
view with the query or placing the join in the outer layer of the query's WHERE clause.

This pattern of rewriting is supported for multi-table joins and supports inner and left join types.
Support for other types is continually expanding.
This pattern of rewriting is supported for multi-table joins and supported join types is as following:

* INNER JOIN
* LEFT OUTER JOIN
* RIGHT OUTER JOIN
* FULL OUTER JOIN
* LEFT SEMI JOIN
* RIGHT SEMI JOIN
* LEFT ANTI JOIN
* RIGHT ANTI JOIN

**Case 1:**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,15 @@ WHERE l_linenumber > 1 and o_orderdate = '2023-10-18';
### JOIN 改写
Join 改写指的是查询和物化使用的表相同,可以在物化视图和查询 Join 的输入或者 Join 的外层写 where,优化器对此 pattern 的查询会尝试进行透明改写。

支持多表 Join,支持 Join 的类型为 inner,left。其他类型在不断拓展中。
支持多表 Join,支持 Join 的类型为:
* INNER JOIN
* LEFT OUTER JOIN
* RIGHT OUTER JOIN
* FULL OUTER JOIN
* LEFT SEMI JOIN
* RIGHT SEMI JOIN
* LEFT ANTI JOIN
* RIGHT ANTI JOIN

**用例1:**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,15 @@ WHERE l_linenumber > 1 and o_orderdate = '2023-10-18';
### JOIN 改写
Join 改写指的是查询和物化使用的表相同,可以在物化视图和查询 Join 的输入或者 Join 的外层写 where,优化器对此 pattern 的查询会尝试进行透明改写。

支持多表 Join,支持 Join 的类型为 inner,left。其他类型在不断拓展中。
支持多表 Join,支持 Join 的类型为:
* INNER JOIN
* LEFT OUTER JOIN
* RIGHT OUTER JOIN
* FULL OUTER JOIN
* LEFT SEMI JOIN
* RIGHT SEMI JOIN
* LEFT ANTI JOIN
* RIGHT ANTI JOIN

**用例1:**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,16 @@ Join rewriting refers to when the tables used in the query and the materializati
In this case, the optimizer will attempt transparent rewriting by either joining the input of the materialized
view with the query or placing the join in the outer layer of the query's WHERE clause.

This pattern of rewriting is supported for multi-table joins and supports inner and left join types.
Support for other types is continually expanding.
This pattern of rewriting is supported for multi-table joins and supported join types is as following:

* INNER JOIN
* LEFT OUTER JOIN
* RIGHT OUTER JOIN
* FULL OUTER JOIN
* LEFT SEMI JOIN
* RIGHT SEMI JOIN
* LEFT ANTI JOIN
* RIGHT ANTI JOIN

**Case 1:**

Expand Down