Closed hueiyuan closed 5 months ago
As a workaround you could create another model with view materialization for your local table
{{ config(materialized='view') }}
SELECT *
FROM clusterAllReplicas('cluster_name', {{ ref('local_table') }}) SETTINGS final = 1
Describe
As a title, How do we create distributed table based on materialized view? because we have create materialized view on cluster. But if we would like to read all of node from materialized view, need to create distributed table to query.
Example:
In order to achieve this objective, how do we set config on sql?
Hope someone can assist to answer it, I will be appreciate it, thank you.