- attached bug_test.py
Nested select in query with tightly linked tables causes SQL Alchemy to repeat from clause information
Issue #2321
resolved
Although the select, when evaluated directly, is correct, when nested in a query via the in_ function, with very circularly interconnected tables with joined table inheritance, it repeats a from clause element, which is sufficient to cause most databases not to execute the command.
See the attached code for an example...
Comments (4)
-
Account Deleted -
repo owner dupe of
#2195, attached test passes in 0.7.2, 0.7.3, tip, fails prior to 8a483dbf38168ff43ca0652229b1d46afb23235d -
repo owner I appreciate your effort with the test case though, it's quite intricate, but this appears to be an issue that was fixed in the above changeset.
-
repo owner - removed milestone
Removing milestone: 0.7.2 (automated comment)
- Log in to comment
Example code demonstrating the issue