You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixed bug in :class:.CTE construct along the same lines as that of
🎫4204 where a :class:.CTE that was aliased would not copy itself
correctly during a "clone" operation as is frequent within the ORM as well
as when using the :meth:.ClauseElement.params method.
Change-Id: Id68d72dd244dedfc7bd6116c9a5123c51a55ea20
Fixes: #4210
(cherry picked from commit 9a13f00)
Fixed bug in :class:.CTE construct along the same lines as that of
🎫4204 where a :class:.CTE that was aliased would not copy itself
correctly during a "clone" operation as is frequent within the ORM as well
as when using the :meth:.ClauseElement.params method.
so the test added here actually has the wrong SQL in it, which will be fixed by the next version of #4204.
+ "WITH RECURSIVE foo(n) AS (SELECT values(:values_1) AS n "
+ "UNION ALL SELECT foo.n + :n_1 AS anon_1 FROM t AS foo "
+ "WHERE foo.n < :n_2) SELECT sum(foo.n) AS sum_1 FROM foo"
"t" is not defined. should be:
"WITH RECURSIVE foo(n) AS (SELECT values(:values_1) AS n "
"UNION ALL SELECT foo.n + :n_1 AS anon_1 FROM foo "
"WHERE foo.n < :n_2) SELECT sum(foo.n) AS sum_1 FROM foo"
Migrated issue, originally created by Michael Bayer (@zzzeek)
similar to #4204, never tested:
The text was updated successfully, but these errors were encountered: