v.25.9Improvement
You can use query parameters after
You can use query parameters afterTOwhen creating a materialized view, for example:CREATE MATERIALIZED VIEW mv TO {to_table:Identifier} AS SELECT * FROM src_table. #84899 (Diskein).
Why it matters
This feature allows users to dynamically specify the target table for a materialized view using query parameters, improving flexibility and reusability of view definitions.How to use it
When creating a materialized view, include query parameters after theTO keyword to specify the destination table dynamically, for example:CREATE MATERIALIZED VIEW mv TO {to_table:Identifier} AS SELECT * FROM src_table