Repository navigation
Fix (QB): tree-rank queries across multiple relationships #8670
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
Open
CarolineDenis
wants to merge
36
commits into
main
Choose a base branch
from
issue-8560
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
8bfd167
Test: Add regression tests for Preferred Taxon’s explicit-rank fields…
CarolineDenis 8463d32
Fix: cache per ORM alias as well as table.
CarolineDenis 07b842c
Test: Update extra join test with prefered taxon
CarolineDenis 0c9ec98
Test: Add test to assert join budget
CarolineDenis be34c2a
Fix: Replaced full-depth parent chains with one ancestor join per req…
CarolineDenis e61efc2
Feat: Validate rank query numbering.
CarolineDenis f1acfaf
Tests: Add tree query tests
CarolineDenis 91777e5
Potential fix for pull request finding 'CodeQL / Cyclic import'
CarolineDenis dae5066
Test: preserve tree-rank correctness without full-depth query joins
CarolineDenis 91b13bd
Tests: preserve tree-rank correctness without full-depth query joins
CarolineDenis cb1bfff
Fix: Move the full-tree numbering scan out of the per-query path.
CarolineDenis fc29d8b
Merge branch 'main' into issue-8560
CarolineDenis 0fa620b
Feat: add query-scoped indexed tree rank resolution
CarolineDenis 1d3a5be
Fix: bound Query Builder tree resolution to relevant rows
CarolineDenis 5a59446
Test: cover indexed tree ranks and page-aware resolution
CarolineDenis 743dcd5
Potential fix for pull request finding 'CodeQL / Module-level cyclic …
CarolineDenis 23bd142
Potential fix for pull request finding 'CodeQL / Module-level cyclic …
CarolineDenis 72d1c7c
Potential fix for pull request finding 'CodeQL / Cyclic import'
CarolineDenis 5caeb30
Potential fix for pull request finding 'CodeQL / Cyclic import'
CarolineDenis e3c133a
Fix: Bind the tree-rank helpers before use.
CarolineDenis 7c66273
Fix: Guard the empty-predicate case when use_implicit_ors=False.
CarolineDenis be3ed10
Fix: Guard the MariaDB-only statement prefix by dialect.
CarolineDenis cdc1eb4
Fix: Bind TreeRanks before handle_tree_field uses it.
CarolineDenis 34a9964
Potential fix for pull request finding 'CodeQL / Cyclic import'
CarolineDenis 254bad8
Fix: Cycle import
CarolineDenis 2e6088f
Potential fix for pull request finding 'CodeQL / Statement has no eff…
CarolineDenis 66acb62
Fix: Do not let _TreeRanksProxy.join skip the join.
CarolineDenis 5339581
Fix: Restrict rank_path to tree ranks on tree tables.
CarolineDenis 36c22e1
Update specifyweb/backend/stored_queries/tests/test_build_query.py
CarolineDenis 7d03577
Merge branch 'main' into issue-8560
CarolineDenis c32616f
Potential fix for pull request finding 'CodeQL / Cyclic import'
CarolineDenis 17b5495
Potential fix for pull request finding 'CodeQL / Cyclic import'
CarolineDenis 5e1aa71
Merge branch 'main' into issue-8560
CarolineDenis 6f05d9e
Fix: Remove unused no-op tree-rank proxy
CarolineDenis 77c4efb
Test: Cover direct tree-rank resolution without preparation
CarolineDenis fb9286d
Merge remote-tracking branch 'origin/main' into issue-8560
melton-jason File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.