-
Notifications
You must be signed in to change notification settings - Fork 393
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
[Feature] Add support for Primary and Foreign Key Constraints in databricks_sql_table #4155
Conversation
Set to draft to add "name" parameter to constraint |
…dd and remove constraints using terraform
There is now added code for adding and removing constraints to an existing table. However, the tests are not running. Assistance will be needed to complete this. |
If integration tests don't run automatically, an authorized user can run them manually by following the instructions below: Trigger: Inputs:
Checks will be approved automatically on success. |
Test Details: go/deco-tests/11713988746 |
Hi @hshahconsulting, thanks for the PR. The tests are running. I see the pull request was in draft state -- I have marked it for review. Some unit tests are failing, can you please take a look? You can run the unit test locally by running
|
Hi Tanmay, thank you for taking the time to having a look. The issue here is that I am not a Go programmer and I will need help from you guys to make the tests pass. I have tried to make them work but I lack the knowledge to find the issue. |
Hi! |
Hello, thank you for adding your comment :) I am not a Go programmer and struggling to make the tests work, so I have asked to open a support ticket on my client's behalf. If your PR can
I suggest that we drop my PR and that you merge yours instead. Best regards |
As this feature is being developed in #4205, I am closing this issue. If something changes, it will be reopened. |
Changes
This pull request aims to enable support for Primary Key and Foreign Key constraints that are generally available in Databricks.
Reference: https://www.databricks.com/blog/primary-key-and-foreign-key-constraints-are-ga-and-now-enable-faster-queries
Closes #4157
Tests
make test
run locallydocs/
folderinternal/acceptance