Skip to content

Conversation

@zddr
Copy link
Contributor

@zddr zddr commented Jul 2, 2024

pick: #36188

- support show create materialized view
- Prohibit show create table from specifying MTMV

 mysql> show create MATERIALIZED VIEW mv1\G
*************************** 1. row ***************************
Materialized View: mv1
Create Materialized View: CREATE MATERIALIZED VIEW mv1
(k1,k2)
BUILD DEFERRED REFRESH AUTO ON MANUAL
DUPLICATE KEY(`k1`, `k2`)
DISTRIBUTED BY RANDOM BUCKETS 2
PROPERTIES (
"replication_allocation" = "tag.location.default: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V2",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728"
)
AS SELECT * from user1
1 row in set (0.01 sec)

mysql> show create table rollup_mv;
ERROR 1105 (HY000): errCode = 2, detailMessage = not support async
materialized view, please use `show create materialized view`
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@zddr
Copy link
Contributor Author

zddr commented Jul 2, 2024

run buildall

@zddr
Copy link
Contributor Author

zddr commented Jul 2, 2024

run buildall

@zddr
Copy link
Contributor Author

zddr commented Jul 2, 2024

run buildall

@zddr
Copy link
Contributor Author

zddr commented Jul 3, 2024

run buildall

@zddr
Copy link
Contributor Author

zddr commented Jul 3, 2024

run p0

@zddr
Copy link
Contributor Author

zddr commented Jul 3, 2024

run buildall

@morningman morningman merged commit 077fda4 into apache:branch-2.1 Jul 3, 2024
@yiguolei yiguolei mentioned this pull request Jul 19, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants