Constraints
- For Spark, Table 1 describes the scenarios and rules in which OmniMV does not allow rewriting or extracting materialized views.
- For ClickHouse, Table 2 describes the scenarios and rules in which OmniMV does not allow rewriting or extracting materialized views.
Scenario |
Rule |
Description |
|---|---|---|
Rewriting is not supported. |
Basic rules |
|
Rewriting is not supported. |
Join rules |
|
Rewriting is not supported. |
Aggregate rules |
|
Materialized views cannot be extracted. |
The query logic is too simple or complex. |
|
Scenario |
Rule |
Description |
|---|---|---|
Rewriting is not supported. |
Engine-defined rules |
|
Materialized views cannot be extracted. |
The query logic is too simple or complex. |
A subquery for which PROJECTION can be created must be a subquery on a single table. That is, the FROM clause contains only one table and must contain the GROUP BY clause. In other scenarios, PROJECTION cannot be extracted. |
Parent topic: Feature Overview