You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/table-valued-functions/mv_infos.md
Copy file name to clipboardExpand all lines: versioned_docs/version-2.1/sql-manual/sql-functions/table-valued-functions/mv_infos.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,13 @@ The following enum fields are commonly used when checking materialized view defi
67
67
-`MvPartitionInfo.partitionType`: how the materialized view is partitioned.
68
68
-`FOLLOW_BASE_TABLE`: materialized view partitions follow a base table partition column.
69
69
-`SELF_MANAGE`: the materialized view manages its own partitions.
70
-
-`EXPR`: materialized view partitions are defined by an expression.
70
+
71
+
:::info Version
72
+
73
+
Doris 2.1.x supports `FOLLOW_BASE_TABLE` and `SELF_MANAGE` for `MvPartitionInfo.partitionType`. The `EXPR` partition type is supported since Doris 3.0.0.
74
+
75
+
:::
76
+
71
77
-`SyncWithBaseTables`: whether materialized view data is synchronized with base tables.
72
78
-`1` or `true`: synchronized.
73
79
-`0` or `false`: not fully synchronized. For partitioned materialized views, use `SHOW PARTITIONS FROM <mv_name>` to check partition-level synchronization.
@@ -108,7 +114,7 @@ In this result:
108
114
-`QuerySql` is the query definition of the materialized view.
109
115
-`EnvInfo` records the environment information when the materialized view was created.
110
116
-`MvProperties` shows the properties of the materialized view. In this example, partition synchronization is limited by `partition_sync_limit=100` and `partition_sync_time_unit=YEAR`.
111
-
-`MvPartitionInfo` shows how the materialized view is partitioned. `FOLLOW_BASE_TABLE` means the materialized view follows a base table partition column. `SELF_MANAGE` means the materialized view manages its own partitions. `EXPR`means the materialized view uses an expression-based partition definition.
117
+
-`MvPartitionInfo` shows how the materialized view is partitioned. In Doris 2.1.x, `FOLLOW_BASE_TABLE` means the materialized view follows a base table partition column, and `SELF_MANAGE` means the materialized view manages its own partitions. The `EXPR`partition type is supported since Doris 3.0.0.
112
118
-`SyncWithBaseTables` is `1`, which means the materialized view data is synchronized with its base tables. `0` means it is not fully synchronized. For partitioned materialized views, use `SHOW PARTITIONS FROM <mv_name>` to check partition-level synchronization.
113
119
114
120
To view the latest refresh task of this materialized view:
0 commit comments