Re: [sqlalchemy] Bug in query with multiple joins when using joined inheritance?

2013-06-15 Thread Michael Bayer
I didn't think it would be, but it is a bug, yes, am applying the patch in http://www.sqlalchemy.org/trac/ticket/2759 right now. On Jun 14, 2013, at 11:52 PM, Seth P spadow...@gmail.com wrote: I've encountered what I believe to be a bug in SQLAlchemy (versions 0.8.0 and 0.8.1) in a query

Re: [sqlalchemy] Bug in query with multiple joins when using joined inheritance?

2013-06-15 Thread Michael Bayer
fixed in master and rel_0_8. On Jun 15, 2013, at 3:02 PM, Michael Bayer mike...@zzzcomputing.com wrote: I didn't think it would be, but it is a bug, yes, am applying the patch in http://www.sqlalchemy.org/trac/ticket/2759 right now. On Jun 14, 2013, at 11:52 PM, Seth P

[sqlalchemy] Bug in query with multiple joins when using joined inheritance?

2013-06-14 Thread Seth P
I've encountered what I believe to be a bug in SQLAlchemy (versions 0.8.0 and 0.8.1) in a query that joins class/tables that use joined inheritance. In the code below, I would expect the three queries to produce the same output, namely [u'CCC'], but the first one gives a different (incorrect)