Skip to content
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

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

hshahconsulting
Copy link

@hshahconsulting hshahconsulting commented Oct 25, 2024

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 locally
  • relevant change in docs/ folder
  • covered with integration tests in internal/acceptance
  • relevant acceptance tests are passing
  • using Go SDK

@hshahconsulting hshahconsulting marked this pull request as ready for review October 25, 2024 10:06
@hshahconsulting hshahconsulting requested review from a team as code owners October 25, 2024 10:06
@hshahconsulting hshahconsulting requested review from hectorcast-db and removed request for a team October 25, 2024 10:06
@hshahconsulting hshahconsulting marked this pull request as draft October 25, 2024 12:29
@hshahconsulting hshahconsulting marked this pull request as ready for review October 25, 2024 14:08
@hshahconsulting hshahconsulting marked this pull request as draft October 28, 2024 10:39
@hshahconsulting
Copy link
Author

Set to draft to add "name" parameter to constraint

@hshahconsulting
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Add support for Primary and Foreign Key Constraints in databricks_sql_table
1 participant