It resolves not being able to use the latest databricks contstraints, without relying on implementation from the databricks or dbt team.
Description
Added the option to include a custom constraint, so a TIMESERIES primary key can be added.
Tried doing this in primary_key, but it only allows for specific attributes, so i couldnt specify something like timeseries_column. Using a custom expression made it more user friendly.
Checklist
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section.
Signed-off-by: Roy Dobbe roy.dobbe@gmail.com
Resolves #
It resolves not being able to use the latest databricks contstraints, without relying on implementation from the databricks or dbt team.
Description
Added the option to include a custom constraint, so a TIMESERIES primary key can be added. Tried doing this in primary_key, but it only allows for specific attributes, so i couldnt specify something like
timeseries_column
. Using a custom expression made it more user friendly.Checklist
CHANGELOG.md
and added information about my change to the "dbt-databricks next" section.