Config path: /<database>/<schema>/materialized_view/<name>.yaml
/<database>/<schema>/materialized_view/<name>.yaml
Example:
text: |- SELECT id, name FROM test_ext_table_1 is_secure: true
columns (dict)
{key} (ident) - column name
{value} (str) - column comment
text (str) - view text
is_secure (bool) - is view secure
cluster_by (list)
{items} (str) - SQL expressions for CLUSTER BY
comment (str)
If you include cluster_by, columns are also required.
Maintenance of materialized views implicitly incurs additional costsarrow-up-right.
Invalid materialized views will be re-created automatically.
CREATE MATERIALIZED VIEWarrow-up-right
SHOW MATERIALIZED VIEWSarrow-up-right
Working with Materialized Viewsarrow-up-right
Parser & JSON Schema (GitHub)arrow-up-right
Last updated 3 years ago