[sqlalchemy] Re: Re: Possible bug with views

2015-05-06 Thread Brecht Machiels
Hello Mike, On Tue, 05 May 2015 21:09:31 +0200, Mike Bayer mike...@zzzcomputing.com wrote: On 5/5/15 1:17 PM, Brecht Machiels wrote: Oops, was a bit too quick there... Here's the echo='debug' output: 2015-05-05 19:16:11,528 INFO sqlalchemy.engine.base.Engine SELECT * FROM group_counts

[sqlalchemy] Re: Possible bug with views

2015-05-05 Thread Brecht Machiels
On Tue, 05 May 2015 18:48:53 +0200, Mike Bayer mike...@zzzcomputing.com wrote: On 5/5/15 11:24 AM, Brecht Machiels wrote: Hello, I'm running into a problem with a database view. Please see the attached script for a minimal example that reproduces the problem. The code and the comments

[sqlalchemy] Possible bug with views

2015-05-05 Thread Brecht Machiels
Hello, I'm running into a problem with a database view. Please see the attached script for a minimal example that reproduces the problem. The code and the comments should make clear what I want to achieve. I expect the two queries at the end of the script to return the same result, but

[sqlalchemy] Re: Possible bug with views

2015-05-05 Thread Brecht Machiels
DEBUG sqlalchemy.engine.base.Engine Row (1, 3, 103) Only the first item is returned, however. Brecht On Tue, 05 May 2015 19:14:56 +0200, Brecht Machiels brecht__gm...@mos6581.org wrote: On Tue, 05 May 2015 18:48:53 +0200, Mike Bayer mike...@zzzcomputing.com wrote: On 5/5/15 11:24 AM