]> 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>
Mon, 19 Sep 2022 22:39:18 +0000 (18:39 -0400)
commitc9af2ebf5e5d288aea3a3a26bdf950e08ac4f927
tree5d16ad838a53613ca04b4984db14658e84f187f0
parentf0bcd57f9ed76ba8d871448d821a85089f490b6c
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
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