SIMSBIOHUB-1059: Store Taxonomic Hierarchy#505
Open
dylanrogowsky-oxd wants to merge 8 commits into
Open
Conversation
|
OpenShift URLs for the PR Deployment:
|
6dcb983 to
3ada5ed
Compare
mauberti-bc
requested changes
Jul 9, 2026
mauberti-bc
left a comment
Collaborator
There was a problem hiding this comment.
Very nice using submission_upload_staging_taxon_candidate!
|
OpenShift URLs for the PR Deployment:
|
3b9c0b1 to
9353036
Compare
9353036 to
58eb078
Compare
58eb078 to
9838629
Compare
dafb9b0 to
1bc4713
Compare
1bc4713 to
ca87fd8
Compare
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Links to Jira Tickets
Description of Changes
parent_itis_tsnandparent_taxon_id(self-referencing FK) totaxon, with an index on each.parent_itis_tsnfrom the stored ITIS payload,parent_taxon_idby matching the parent'sitis_tsn.hierarchyTSNlineage instead of the flatparentTSN(a TSN's parent is the previous TSN in the ordered lineage).UNRESOLVED_TAXON.ChildOf/ParentOf/AscendsFrom/DescendsFrom) now walk the indexedparent_taxon_idcolumn instead of parsingparentTSNout ofitis_data.Testing Notes
taxonhasparent_itis_tsn/parent_taxon_idplus the two indexes, and that existing rows are backfilled.GET /api/taxonomy/taxon?tsn=<tsn>for a taxon whose ancestors aren't cached; the full lineage should be stored with parent links set.