Opened 2 weeks ago
Last modified 2 weeks ago
#35744 assigned Bug
Combine query support doesn't repoint nested external references — at Version 2
Reported by: | Simon Charette | Owned by: | |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | 4.1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
As I came to discover trying to help someone on the forum the support for correlated subqueries (aka OuterRef
) in combined queries (union
, intersection
, difference
) added in #29338 fails to re-point external references on relabeling (an operation performed on subquery pushdown to prevent table name collisions) causing nested outer query references to be orphaned.
Change History (2)
comment:1 by , 2 weeks ago
Has patch: | set |
---|
comment:2 by , 2 weeks ago
Description: | modified (diff) |
---|---|
Summary: | Composite query support doesn't report nested correlated queries external references → Combine query support doesn't repoint nested external references |
Note:
See TracTickets
for help on using tickets.