dbt-spark contains all of the code enabling dbt to work with Apache Spark and Databricks
395
stars
221
forks
source link
[CT-2215] [Spark] Use new ColumnLevelConstraint structure in spark__alter_table_add_constraints and spark__alter_column_set_constraints #655
Closed
MichelleArk closed 1 year ago
Core issue: https://github.com/dbt-labs/dbt-core/issues/7066
Refactor spark__alter_table_add_constraints and spark__alter_column_set_constraints to use the new
constraints
data structure in favour of the existingconstraints
andconstraints_check
.Adapter specific tests should not need to change the existing
expected_sql
fixture is still the expected result!