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

Populate primary_key field for joined tables #188

Merged
merged 4 commits into from
Oct 21, 2024

Conversation

sfc-gh-cnivera
Copy link
Collaborator

@sfc-gh-cnivera sfc-gh-cnivera commented Oct 18, 2024

Joins now require a primary_key to be specified on the table objects being used in the joins. When using the join editor, we now attempt to populate the primary_key field on the table by using a show primary keys in table... query. If this query returns no results, we simply set an empty string column for the user to fill out.

@sfc-gh-cnivera sfc-gh-cnivera changed the title Populate primary_key field for tables Populate primary_key field for joined tables Oct 18, 2024
@sfc-gh-cnivera sfc-gh-cnivera marked this pull request as ready for review October 21, 2024 17:48
@sfc-gh-cnivera sfc-gh-cnivera merged commit b3319ac into main Oct 21, 2024
2 checks passed
@sfc-gh-cnivera sfc-gh-cnivera deleted the cnivera/primary-key-joins branch October 21, 2024 22:05
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.

Autopopulate table primary keys if joins are enabled Rename "experimental features" to just reference joins
2 participants