dbt-labs / dbt-codegen

Macros that generate dbt code
https://hub.getdbt.com/dbt-labs/codegen/latest/
Apache License 2.0
464 stars 102 forks source link

Include constraints config in model yml #102

Closed Victoriapm closed 1 year ago

Victoriapm commented 1 year ago

Describe the feature

Adds to the generate model yml macro an option to include constraints configurations by retrieving the column data.

This related to the feature in development in dbt-core issue #6079 and #6271

Describe alternatives you've considered

Additional context

It will be relevant for the supported data platforms: BigQuery, Snowflake and postgres initially

Who will this benefit?

Anyone using the dbt constraints feature

Are you interested in contributing this feature?

yes, I have already tested this in my project

github-actions[bot] commented 1 year ago

This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days.

github-actions[bot] commented 1 year ago

Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers.