-
Notifications
You must be signed in to change notification settings - Fork 119
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
Issue 747 primary key autoname #774
Issue 747 primary key autoname #774
Conversation
…traint names. For foreign keys, adding the expression or the list of columns in the auto generated constraint anme.
Thanks for opening, will run the test suite to see where we stand. |
Hi, I am really keen to use the non-expression method for foreign keys. Unfortunately, when I try it, I get an error message like: "No parent table defined for foreign key: " followed by a trace. I have configured the schema for the model like so:
Any tips on how to get this working? I've had a look at the macro code, and it appears the constraint.get("parent") call is not returning anything, hence the error message, but I can't see anything obvious I am doing wrong. Running with adaptor version 1.8.5 |
Resolves #747
Description
Checklist
CHANGELOG.md
and added information about my change to the "dbt-databricks next" section.