DBT {materialized = "view"} 在数据库中创建表

问题描述 投票:0回答:0

试图了解 DBT 物化策略 - 我们的一些模型正在使用 {materialized = "view"} 选项,但我仍然看到在数据库中创建了一个基础表(我们正在使用 AWS Redshift)

Documentation 说: “当使用 view materialization 时,您的模型在每次运行时 rebuilt as a view,通过 create view as statement..” 然后: “当使用 table materialization 时,您的模型 rebuild as a table on each run, via a create table as statement”

我仍然在“表”下看到一个带有模型名称的表,而在“视图”下没有这样的视图。

有人可以解释一下吗?

谢谢!

view dbt materialized
© www.soinside.com 2019 - 2024. All rights reserved.