]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
break out text() from TextualSelect for col matching
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 19 Sep 2022 13:40:40 +0000 (09:40 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 20 Sep 2022 01:50:03 +0000 (21:50 -0400)
commitbbd90a987eea70c28dd1e2ee7007722b16ec9f74
tree24bf7bf95ebcbfffa19a0f79814e1cb8526f6192
parent4428dce5a633fca699b423dcb76672a5f9e4c0d8
break out text() from TextualSelect for col matching

Fixed issue where mixing "*" with additional explicitly-named column
expressions within the columns clause of a :func:`_sql.select` construct
would cause result-column targeting to sometimes consider the label name or
other non-repeated names to be an ambiguous target.

Fixes: #8536
Change-Id: I3c845eaf571033e54c9208762344f67f4351ac3a
(cherry picked from commit 78327d98be9236c61f950526470f29b184dabba6)
doc/build/changelog/unreleased_14/8536.rst [new file with mode: 0644]
lib/sqlalchemy/engine/cursor.py
lib/sqlalchemy/engine/default.py
lib/sqlalchemy/sql/compiler.py
test/requirements.py
test/sql/test_resultset.py