Re: [sqlalchemy] selecting null

2014-08-20 Thread Michael Bayer
On Aug 20, 2014, at 7:16 PM, Dave Vitek wrote: > Hi all, > > I recently upgraded from 0.7.10 to 0.9.7. I'm seeing what looks like a > regression: > > (Pdb) p str(select([null(), null()])) > 'SELECT NULL AS anon_1' > > After the upgrade, sqlalchemy seems to coalesce multiple adjacent nulls i

[sqlalchemy] selecting null

2014-08-20 Thread Dave Vitek
Hi all, I recently upgraded from 0.7.10 to 0.9.7. I'm seeing what looks like a regression: (Pdb) p str(select([null(), null()])) 'SELECT NULL AS anon_1' After the upgrade, sqlalchemy seems to coalesce multiple adjacent nulls into a single one. I can work around the problem by doing this in