The problem I’m having is I can’t configure dbt python model as view.
import snowflake.snowpark.functions as F
def model(dbt, session):
dbt.config(materialized="view")
df = dbt.ref("sample")
return df
Facing Error when ran the model
Materialization "materialization_view_snowflake" only supports languages ['sql']; got "python"
So my understanding is we can’t materialize model as view using dbt-python model