Opened 5 weeks ago

Last modified 5 weeks ago

#35744 assigned Bug

Combine query support doesn't repoint nested external references

Reported by: Simon Charette Owned by: Simon Charette
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 Simon Charette)

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 (4)

comment:1 by Simon Charette, 5 weeks ago

Has patch: set

comment:2 by Simon Charette, 5 weeks ago

Description: modified (diff)
Summary: Composite query support doesn't report nested correlated queries external referencesCombine query support doesn't repoint nested external references

comment:3 by Sarah Boyce, 5 weeks ago

Triage Stage: UnreviewedAccepted

comment:4 by Sarah Boyce, 5 weeks ago

Owner: set to Simon Charette
Note: See TracTickets for help on using tickets.
Back to Top