Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CT-2219] [Spark] Implement constraint_support on SparkAdapter #656

Closed
Tracked by #6747
MichelleArk opened this issue Feb 28, 2023 · 0 comments · Fixed by #747
Closed
Tracked by #6747

[CT-2219] [Spark] Implement constraint_support on SparkAdapter #656

MichelleArk opened this issue Feb 28, 2023 · 0 comments · Fixed by #747
Assignees

Comments

@MichelleArk
Copy link
Contributor

Core issue: dbt-labs/dbt-core#7067

Implement constraint_support on the SparkAdapter to satisfy:

constraint type support
not_null not enforced
primary_key not enforced
foreign_key not enforced
unique not enforced
check not enforced

(from: dbt-labs/dbt-core#7067 (comment))

Additionally, remove the not_null-related warning raised in spark__alter_column_set_constraints : https://github.com/dbt-labs/dbt-spark/blob/main/dbt/include/spark/macros/adapters.sql#L202-L204

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants