Open matthew-coudert-cko opened 3 days ago
This is really cool.
I am sure others would be quite interested in this! As long as we can place behind reasonably well named feature flags with the appropriate early stage / incubating labeling, I think things should be fine!
To clarify, for dbt contracts you are minting net new schema assertions in DataHub is that right? And for other DBT tests you are simply linking them to the contract for the assets.
We (Checkout.com) have started using DataHub's contract feature more intensely over the past few months, and have implemented a custom mapping between DBT contracts and DataHub's data contract feature. We propose implementing this as a part of the native DBT Core ingestion with the following functionality:
contract
) have their assertion added to the data contract.not_null
in Snowflake) could be added into the contract as well as always passing.Example DBT Yaml:
We're happy to contribute this if there's appetite, happy to hide it behind a feature flag in the DBT config as well.