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

Detect primary keys in metadata #1521

Closed
amontanez24 opened this issue Jul 28, 2023 · 0 comments · Fixed by #1610
Closed

Detect primary keys in metadata #1521

amontanez24 opened this issue Jul 28, 2023 · 0 comments · Fixed by #1610
Assignees
Labels
feature:metadata Related to describing the dataset feature request Request for a new feature
Milestone

Comments

@amontanez24
Copy link
Contributor

Problem Description

As a user, I'd like for the metadata to autonomously detect primary keys as it would save me time.

This should be done after #1515.

Expected behavior

  • Once sdtypes have all been detected, we should assume that the leftmost column (according to the order of the provided data) that has sdtype id is the primary key and set it.
  • In the multi-table case, we should just do this for every table.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature:metadata Related to describing the dataset feature request Request for a new feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants