Skip to main content
VeloDB Cloud 26.x is based Doris 4.x (up to 4.0 supported). Versions on this page refer to Doris versions. See Version Mapping.

SHOW CREATE ASYNC MATERIALIZED VIEW

Description​

View the materialized view creation statement.

Syntax​

SHOW CREATE MATERIALIZED VIEW <materialized_view_name>

Required Parameters​

1. <materialized_view_name>

The name of the materialized view.

Return Values​

Column NameDescription
Materialized ViewName of the materialized view
Create Materialized ViewStatement used to create the materialized view

Access Control Requirements​

The user executing this SQL command must have at least the following permissions:

PrivilegeObjectNotes
SELECT_PRIV/LOAD_PRIV/ALTER_PRIV/CREATE_PRIV/DROP_PRIVTable

Example​

  1. View the creation statement of an asynchronous materialized view

    SHOW CREATE MATERIALIZED VIEW partition_mv;