]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
expand out all columns for _all_column_expressions
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 31 Jul 2023 21:47:07 +0000 (17:47 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 1 Aug 2023 03:00:10 +0000 (23:00 -0400)
commit244a94957b50e4a6dcdb1ffbcf4ce1a76a18f0b2
treeeedbabaac5d0d8808083bf96df6e199d9c5f50f1
parent19da1e2cfb59ad91c930b627a1facd14d14bd023
expand out all columns for _all_column_expressions

Fixed issue where the ORM's generation of a SELECT from a joined
inheritance model with same-named columns in superclass and subclass would
somehow not send the correct list of column names to the :class:`.CTE`
construct, when the RECURSIVE column list were generated.

Fixes: #10169
Change-Id: I531d9bb469443c077ee34cbc1eeb097ada46f20f
doc/build/changelog/unreleased_20/10169.rst [new file with mode: 0644]
lib/sqlalchemy/orm/mapper.py
test/orm/inheritance/test_relationship.py
test/orm/test_core_compilation.py
test/orm/test_eager_relations.py