]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
self_group() for FunctionFilter
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 13 Jul 2019 02:43:31 +0000 (22:43 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 13 Jul 2019 02:45:41 +0000 (22:45 -0400)
commit0eb7a5b78ae79d8bafc2114cb5b41cfc4a15e56d
tree984c71329220fe4ff0a7027adf84099e75c2fbc5
parent75fdcacc85f00b8d1b382b4343014e2a503080bc
self_group() for FunctionFilter

Fixed issue where the :class:`.array_agg` construct in combination with
:meth:`.FunctionElement.filter` would not produce the correct operator
precedence between the FILTER keyword and the array index operator.

Fixes: #4760
Change-Id: Ic662cd3da3330554ec673bafd80495b3f1506098
(cherry picked from commit 116faee662f618d5ecd13b1e074a27d5e5a40564)
doc/build/changelog/unreleased_13/4760.rst [new file with mode: 0644]
lib/sqlalchemy/sql/elements.py
lib/sqlalchemy/sql/operators.py
test/dialect/postgresql/test_compiler.py
test/sql/test_functions.py