Opened 11 days ago

Last modified 11 days 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, 11 days ago

Has patch: set

comment:2 by Simon Charette, 11 days 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, 11 days ago

Triage Stage: UnreviewedAccepted

comment:4 by Sarah Boyce, 11 days ago

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