dbt-labs / dbt-spark

dbt-spark contains all of the code enabling dbt to work with Apache Spark and Databricks
https://getdbt.com
Apache License 2.0
405 stars 227 forks source link

[CT-2239] [Spark] Enforce model contract in spark__create_view_as #654

Closed MichelleArk closed 1 year ago

MichelleArk commented 1 year ago

Core issue: https://github.com/dbt-labs/dbt-core/issues/7034

Update spark__create_view_as to assert column equivalence for contracted models via a call to the existing get_assert_columns_equivalent macro.