]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Include DISTINCT in error message for label reference
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 6 Dec 2019 15:24:25 +0000 (10:24 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 6 Dec 2019 15:57:19 +0000 (10:57 -0500)
commita7a8804a836ce9edcfdee7d7406cd3c050b34f05
tree55cd401559f5c5189504515bbba326c3b7a01181
parent1ab483ac5481cb60e898f0bfdad54e5ca45bbb80
Include DISTINCT in error message for label reference

Needed to add tests to ensure this label reference is handled
correctly, so also modified the exception message to
be more clear if someone has this error within distinct().

Change-Id: I6e685e46ae336596272d14366445ac224c18d92c
doc/build/changelog/unreleased_13/dist_warn.rst [new file with mode: 0644]
lib/sqlalchemy/sql/compiler.py
test/orm/test_query.py
test/sql/test_compiler.py
test/sql/test_text.py