#34963: Recursive and other "combinator" queries broken in django-cte
-----------------------------------------+------------------------
Reporter: Daniel Miller | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 4.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
[https://code.djangoproject.com/changeset/70499b25c708557fb9ee2264686cd172f4b2354e
70499b2] in #34123 [https://github.com/dimagi/django-cte/issues/66 broke
django-cte]. The problem is caused by
`compiler.as_sql(with_col_aliases=True)` in `get_combinator_sql`:
`with_col_aliases=True` breaks the ability to reference CTE query columns
by name on Django 4.2.
--
Ticket URL: <https://code.djangoproject.com/ticket/34963>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018bb5ffa575-749b5fdd-58da-4a42-8950-2eb1e65bf325-000000%40eu-central-1.amazonses.com.