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

Update to AnVIL schema v4 #4617

Closed
4 of 6 tasks
hannes-ucsc opened this issue Oct 19, 2022 · 7 comments
Closed
4 of 6 tasks

Update to AnVIL schema v4 #4617

hannes-ucsc opened this issue Oct 19, 2022 · 7 comments
Assignees
Labels
code [subject] Production code demo [process] To be demonstrated at the end of the sprint demoed [process] Successfully demonstrated to team enh [type] New feature or request orange [process] Done by the Azul team

Comments

@hannes-ucsc
Copy link
Member

hannes-ucsc commented Oct 19, 2022

https://github.com/broadinstitute/anvil_tdr_ingest/pull/2/files

  • Switch the v3 snapshots in the corpus to their updated v4 counterparts
  • Absorb renaming of fields
  • Absorb renaming of tables
  • Ensure that we index all tables
  • Ensure that we follow all foreign keys in the schema
  • Ensure that we index all columns in the schema

I don't think we currently follow the FK from_biosample.diagnosis_id_to_diagnosis.diagnosis_id that's being removed in v4. So nothing to do on that front. But see #4618.

Absorbing the renamed tables doesn't affect our internal naming of entity types i.e. biosample stays biosample even though the table is called anvil_biosample.

@hannes-ucsc hannes-ucsc added the orange [process] Done by the Azul team label Oct 19, 2022
@melainalegaspi
Copy link

@noah-aviel-dove received review request, waiting for review to complete before triaging.

@melainalegaspi melainalegaspi added enh [type] New feature or request indexer [subject] The indexer part of Azul code [subject] Production code and removed indexer [subject] The indexer part of Azul labels Oct 21, 2022
@melainalegaspi
Copy link

@theathorn to monitor spreadsheet for updated snapshots.

@hannes-ucsc
Copy link
Member Author

hannes-ucsc commented Nov 4, 2022

Current v4 snapshots will be retracted and replacements with more file connections (partially addressing #4654) will be released.

https://ucsc-gi.slack.com/archives/C03TPJS54DC/p1667564548110159

@theathorn
Copy link

Slack thread re. updated snapshots.

@theathorn
Copy link

Rows 29-38 contain the 10 updated snapshots.

nadove-ucsc added a commit that referenced this issue Dec 1, 2022
nadove-ucsc added a commit that referenced this issue Dec 5, 2022
nadove-ucsc added a commit that referenced this issue Dec 6, 2022
@hannes-ucsc
Copy link
Member Author

hannes-ucsc commented Dec 7, 2022

For demo, show that each snapshot is represented on the /index/files endpoint. Name the tables and foreign keys that are not indexed/followed and discuss if we need additional tickets for them.

@hannes-ucsc hannes-ucsc added the demo [process] To be demonstrated at the end of the sprint label Dec 7, 2022
@nadove-ucsc
Copy link
Contributor

Follow-ups from demo:
#4827
#4828

@hannes-ucsc hannes-ucsc added the demoed [process] Successfully demonstrated to team label Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code [subject] Production code demo [process] To be demonstrated at the end of the sprint demoed [process] Successfully demonstrated to team enh [type] New feature or request orange [process] Done by the Azul team
Projects
None yet
Development

No branches or pull requests

4 participants