-
Notifications
You must be signed in to change notification settings - Fork 53
Inefficient Tree JOINS causing Too Many Tables Error in Queries #8529
Copy link
Copy link
Labels
2 - QueriesIssues that are related to the query builder or queries in generalIssues that are related to the query builder or queries in generalUXUser experience issues that have been reported by a number of usersUser experience issues that have been reported by a number of usersregressionThis is behavior that once worked that has broken. Must be resolved before the next release.This is behavior that once worked that has broken. Must be resolved before the next release.
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
2 - QueriesIssues that are related to the query builder or queries in generalIssues that are related to the query builder or queries in generalUXUser experience issues that have been reported by a number of usersUser experience issues that have been reported by a number of usersregressionThis is behavior that once worked that has broken. Must be resolved before the next release.This is behavior that once worked that has broken. Must be resolved before the next release.
Describe the bug
A clear and concise description of what the bug is.
Users are running into the following issue much more in v7.12.1+: #3369
For Auburn and PRI, the queries are for reports/labels and had worked previously. All the queries contain complex mappings.
KU Ento: (entomology.ku)
query includes host taxon relationship
Brzoska Tiger beetles.json | Specify 7 Crash Report - 2026-09-14T16_33_24.434Z.txt
dev comment:
Auburn Inverts: (aumnh-inverts)
query includes Taxon>FullName and PreferredTaxon>FullName fields for each rank in tree
Label Generator.json | Specify 7 Crash Report - 2026-09-14T16_55_45.453Z.txt
user comment:
PRI: (pricollections)
query includes 7 chrono and litho strat fields with four joins each; also a few taxon>fullName and preferredTaxon>fullName fields
Label Query1.json | Specify 7 Crash Report - 2026-09-14T16_54_46.303Z.txt
Label Query1 in v7.12.0.7:
Label Query1 in v7.12.1.1:
Please fill out the following information manually:
Reported By
KU Entomology 1325
Auburn Inverts 809
PRI Collections 1321
Related
PR: #8510
Issue: #3369