You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of dbt-labs/dbt-core#8062. we are parsing and compiling new to and to_columns fields on ModelLevelConstraint and ColumnLevelConstraint. dbt-adapters should use these new fields, when populated, to render out the foreign key constraint instead of expression. expression support should remain as-is for backward-compatability.
Context
No response
Acceptance criteria
The content you are editing has changed. Please copy your edits and refresh the page.
This will update the base implementation of constraint rendering in a backward-compatible manner. Other adapters will be able to extend it as necessary to support to and to_columns, but will continue to be able to use the default implementation.
The text was updated successfully, but these errors were encountered:
Housekeeping
dbt-adapters
Short description
As part of dbt-labs/dbt-core#8062. we are parsing and compiling new
to
andto_columns
fields on ModelLevelConstraint and ColumnLevelConstraint. dbt-adapters should use these new fields, when populated, to render out the foreign key constraint instead ofexpression
.expression
support should remain as-is for backward-compatability.Context
No response
Acceptance criteria
Tasks
Testing
Tasks
Security
N/A
Docs
dbt-labs/dbt-core#10414 (comment)
Consequences
This will update the base implementation of constraint rendering in a backward-compatible manner. Other adapters will be able to extend it as necessary to support
to
andto_columns
, but will continue to be able to use the default implementation.The text was updated successfully, but these errors were encountered: