Nested select in query with tightly linked tables causes SQL Alchemy to repeat from clause information

Issue #2321 resolved
Former user created an issue

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)

  1. Mike Bayer 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.

  2. Log in to comment