-
Notifications
You must be signed in to change notification settings - Fork 105
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
Add support for foreign key specification. #489
Comments
The idiomatic way would be to use
Using this references field in sql export is not yet implemented, but should be easy to do. Would you be interested in contributing a PR? |
Alright, let me have a look :) |
After setting up the work environment, I have multiple failing tests without changing anything. Is this behaviour common and are there any tipps to fix this? |
Hi @julianbergerkoerber . This is not common. Please elaborate your specific problem and errors in a dedicated ticket. |
Closed as stale. |
The Databricks SQL dialect offers the possibility to add a foreign key reference in the CREATE TABLE statement. I would like to use this with the datacontract.yml, but currently there is no possibility to do this.
For example, I would like to add the
foreignKey
as a setting for the fields settings, like this:Is this possible, or are there any problems with this?
I also added an example on the desired output for my issue:
Example Contract
Output:
Desired Output:
The text was updated successfully, but these errors were encountered: