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
DM-41652: Part 2 of adding single-attribute foreign keys to DP0.2 #186
Conversation
8486957
to
98fe0e3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am wondering if this PR should be split up as it contains three sets of seemingly unrelated changes:
- Adding an ER diagram for one of the schemas
- Adding additional
ivoa:ucd
attributes - Adding additional FKs
The yml
directory doesn't seem like an ideal place to put documentation, as there are only YAML files there now. A better organization might be putting these types of files in their own dedicated doc
directory with its own structure like doc/schemas/$SCHEMA_NAME
or something similar.
I did separate the changes reasonably carefully into distinct self-contained commits. If you do want separate PRs we can do that, but it won't really change what shows up in the repo history. I agree that the |
I'm also OK with just creating a |
I do think it would be good to move this into a new |
ce3abb9
to
aaeb11d
Compare
Add or update associated annotations to improve presentation
Add UCDs for IDs to support foreign-key links Completes original scope of DM-41652
Add time.epoch or time.duration UCDs as appropriate. Add units in one place where they were missing
Link to Felis from README
Eventually we should try to generate this automatically from Felis.
aaeb11d
to
892166a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We discussed inclusion of three separate sets of changes in this PR and decided it was acceptable. I checked that the new IVOA UCD attributes seem to match conceptually the columns to which they are assigned. The new FKs were verified to load correctly into TAP_SCHEMA. There is a problem with the Felis sql
module having to do with an ordering dependence on column definitions that occurs with these changes, but this is not a an issue with sdm_schemas itself, but rather something that needs to be fixed in Felis. Finally, the new example ERD diagram was moved into the doc
directory. This may be used as a template for automatically generating these diagrams in the future.
Thanks. Omnibus PRs are not my usual style anyway, so I'm happy to keep things separated in general. |
Includes: