<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlalchemy.git/lib/sqlalchemy/sql, branch pr/259</title>
<subtitle>github.com: zzzeek/sqlalchemy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/'/>
<entry>
<title>- Fixed bug where the negation of an EXISTS expression would not</title>
<updated>2016-03-21T14:58:08+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-03-21T14:57:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=dfe49c7b7f0c83ced11fdbceef14d89c82647f0b'/>
<id>dfe49c7b7f0c83ced11fdbceef14d89c82647f0b</id>
<content type='text'>
be properly typed as boolean in the result, and also would fail to be
anonymously aliased in a SELECT list as is the case with a
non-negated EXISTS construct.
fixes #3682

(cherry picked from commit 07a4b6cbcda6e6ee6e67893c5a5d2fd01e5f125f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
be properly typed as boolean in the result, and also would fail to be
anonymously aliased in a SELECT list as is the case with a
non-negated EXISTS construct.
fixes #3682

(cherry picked from commit 07a4b6cbcda6e6ee6e67893c5a5d2fd01e5f125f)
</pre>
</div>
</content>
</entry>
<entry>
<title>Raise exception when we have multiple values with an unknown column. Fixes #3666.</title>
<updated>2016-03-03T01:25:50+00:00</updated>
<author>
<name>Athena Yao</name>
<email>athena.yao@cloverhealth.com</email>
</author>
<published>2016-03-02T19:14:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=59677e82fb234ef4958cfa834bc954fbb3970def'/>
<id>59677e82fb234ef4958cfa834bc954fbb3970def</id>
<content type='text'>
(cherry picked from commit 399f92cd116b747f742b919ac9a3e79eb0637e8a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 399f92cd116b747f742b919ac9a3e79eb0637e8a)
</pre>
</div>
</content>
</entry>
<entry>
<title>- unfortunately calling upon "_label" here makes it unclear if</title>
<updated>2016-02-26T16:27:12+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-02-26T16:27:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=785224a92f39bd5bdd05bbc66f4dd79736abded5'/>
<id>785224a92f39bd5bdd05bbc66f4dd79736abded5</id>
<content type='text'>
we're trying to hit columns without names yet and such, to suit the bug
right now just make it specific to FunctionElement
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
we're trying to hit columns without names yet and such, to suit the bug
right now just make it specific to FunctionElement
</pre>
</div>
</content>
</entry>
<entry>
<title>- Anonymous labeling is applied to a :attr:`.func` construct that is</title>
<updated>2016-02-26T05:21:12+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-02-26T05:20:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=aac2cb5007cea2f7a68e4cfe4515c95724a3eaf4'/>
<id>aac2cb5007cea2f7a68e4cfe4515c95724a3eaf4</id>
<content type='text'>
passed to :func:`.column_property`, so that if the same attribute
is referred to as a column expression twice the names are de-duped,
thus avoiding "ambiguous column" errors.   Previously, the
``.label(None)`` would need to be applied in order for the name
to be de-anonymized.
fixes #3663

(cherry picked from commit 0210695bd97e76f58d8781b69337816501482fb0)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
passed to :func:`.column_property`, so that if the same attribute
is referred to as a column expression twice the names are de-duped,
thus avoiding "ambiguous column" errors.   Previously, the
``.label(None)`` would need to be applied in order for the name
to be de-anonymized.
fixes #3663

(cherry picked from commit 0210695bd97e76f58d8781b69337816501482fb0)
</pre>
</div>
</content>
</entry>
<entry>
<title>- additional adjustment to the fix made in 8ad968f33100baeb3b13c7e0b724b6b79ab4277f</title>
<updated>2016-02-22T03:46:31+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-02-22T03:46:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=aa9ce3f521f254da9879ede011e520ec35b8270e'/>
<id>aa9ce3f521f254da9879ede011e520ec35b8270e</id>
<content type='text'>
for ref #3657.  The Oracle dialect makes more use of the "select_wraps_for"
feature than SQL server because Oracle doesn't have "TOP" for a limit-only
select, so tests are showing more happening here.  In the case where
the select() has some dupe columns, these are deduped from the .c collection
so a positional match between the wrapper and original can't use .inner_columns,
because these collections wont match.  Using _columns_plus_names
instead which is the deduped collection that determines the SELECT display,
which definitely have to match up.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for ref #3657.  The Oracle dialect makes more use of the "select_wraps_for"
feature than SQL server because Oracle doesn't have "TOP" for a limit-only
select, so tests are showing more happening here.  In the case where
the select() has some dupe columns, these are deduped from the .c collection
so a positional match between the wrapper and original can't use .inner_columns,
because these collections wont match.  Using _columns_plus_names
instead which is the deduped collection that determines the SELECT display,
which definitely have to match up.
</pre>
</div>
</content>
</entry>
<entry>
<title>- reworked the way the "select_wraps_for" expression is</title>
<updated>2016-02-21T01:30:58+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-02-21T01:22:38+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=cf818984ab52d824dbf77fcb6f18ec4efca53704'/>
<id>cf818984ab52d824dbf77fcb6f18ec4efca53704</id>
<content type='text'>
handled within visit_select(); this attribute was added in the
1.0 series to accommodate the subquery wrapping behavior of
SQL Server and Oracle while also working with positional
column targeting and no longer relying upon "key fallback"
in order to target columns in such a statement.  The IBM DB2
third-party dialect also has this use case, but its implementation
is using regular expressions to rewrite the textual SELECT only
and does not make use of a "wrapped" select at this time.
The logic no longer attempts to reconcile proxy set collections as
this was not deterministic, and instead assumes that the select()
and the wrapper select() match their columns postionally,
at least for the column positions they have in common,
so it is now very simple and safe.  fixes #3657.
- as a side effect of #3657 it was also revealed that the
strategy of calling upon a ResultProxy._getter was not
correctly calling into NoSuchColumnError when an expected
column was not present, and instead returned None up to
loading.instances() to produce NoneType failures; added
a raiseerr argument to _getter() which is called when we
aren't expecting None, fixes #3658.

(cherry picked from commit 8ad968f33100baeb3b13c7e0b724b6b79ab4277f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
handled within visit_select(); this attribute was added in the
1.0 series to accommodate the subquery wrapping behavior of
SQL Server and Oracle while also working with positional
column targeting and no longer relying upon "key fallback"
in order to target columns in such a statement.  The IBM DB2
third-party dialect also has this use case, but its implementation
is using regular expressions to rewrite the textual SELECT only
and does not make use of a "wrapped" select at this time.
The logic no longer attempts to reconcile proxy set collections as
this was not deterministic, and instead assumes that the select()
and the wrapper select() match their columns postionally,
at least for the column positions they have in common,
so it is now very simple and safe.  fixes #3657.
- as a side effect of #3657 it was also revealed that the
strategy of calling upon a ResultProxy._getter was not
correctly calling into NoSuchColumnError when an expected
column was not present, and instead returned None up to
loading.instances() to produce NoneType failures; added
a raiseerr argument to _getter() which is called when we
aren't expecting None, fixes #3658.

(cherry picked from commit 8ad968f33100baeb3b13c7e0b724b6b79ab4277f)
</pre>
</div>
</content>
</entry>
<entry>
<title>- further edit the unnest() example to suit PG's esoteric requirements</title>
<updated>2016-02-18T16:33:41+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-02-18T16:33:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=bba2269922efebbee83271ad8a53d2d08a85762f'/>
<id>bba2269922efebbee83271ad8a53d2d08a85762f</id>
<content type='text'>
exactly

(cherry picked from commit c97aa63789036fc145503f03123275253ae02d2c)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
exactly

(cherry picked from commit c97aa63789036fc145503f03123275253ae02d2c)
</pre>
</div>
</content>
</entry>
<entry>
<title>- use same colname as the alias we give to the PG function</title>
<updated>2016-02-16T15:06:44+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-02-16T15:05:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=aec9bb16e62fa7a7541cb91691378244644d1487'/>
<id>aec9bb16e62fa7a7541cb91691378244644d1487</id>
<content type='text'>
here, fixes #3652

(cherry picked from commit e310a8e423d9a4eeb511b7b84dbeccc90c234a1f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
here, fixes #3652

(cherry picked from commit e310a8e423d9a4eeb511b7b84dbeccc90c234a1f)
</pre>
</div>
</content>
</entry>
<entry>
<title>- repair the fix just cherry-picked for ref #3644 as compiler.py wasn't</title>
<updated>2016-02-09T23:10:50+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-02-09T23:10:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=9a156c586ddf339acd7df1dda7a790f5573ada51'/>
<id>9a156c586ddf339acd7df1dda7a790f5573ada51</id>
<content type='text'>
present in the commit for master, having been inadvertently committed
on February 3.  Source of this line is c1316a299257fae8264c8038d83e415f4605fde7.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
present in the commit for master, having been inadvertently committed
on February 3.  Source of this line is c1316a299257fae8264c8038d83e415f4605fde7.
</pre>
</div>
</content>
</entry>
<entry>
<title>- add literal_binds for delete() statements in addition to insert()/update()</title>
<updated>2016-02-03T16:10:40+00:00</updated>
<author>
<name>Mike Bayer</name>
<email>mike_mp@zzzcomputing.com</email>
</author>
<published>2016-02-03T16:07:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/sqlalchemy.git/commit/?id=e2404a4e3fbec54336068be4397e2d8912b9f43c'/>
<id>e2404a4e3fbec54336068be4397e2d8912b9f43c</id>
<content type='text'>
- move tests to CRUDTest
- changelog, fixes #3643

(cherry picked from commit 150591f9e0a94902cb2a76b68ac7c9d8a1a3ec83)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- move tests to CRUDTest
- changelog, fixes #3643

(cherry picked from commit 150591f9e0a94902cb2a76b68ac7c9d8a1a3ec83)
</pre>
</div>
</content>
</entry>
</feed>
