]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Fix aggregate_order_by issue
authorGord Thompson <gord@gordthompson.com>
Thu, 4 Mar 2021 13:55:53 +0000 (06:55 -0700)
committerGord Thompson <gord@gordthompson.com>
Thu, 4 Mar 2021 17:00:42 +0000 (10:00 -0700)
commit8daa6ac765acc2b0a6c4aad165d80266258b2474
tree62b59ef38a397cfd289f216e2515d88b29ca6741
parent32e6b4945af3c82cb284bf45d4a01881e83e98e8
Fix aggregate_order_by issue

Fixes: #5989
Using array_agg() with aggregate_order_by() in
postgresql would sometimes return ARRAY(NullType)
instead of ARRAY(actual_type).

Change-Id: I05a0b2b7ea59291e3c04575578adcc337296e5a8
(cherry picked from commit 780213bfefac7046ac889ffbc1c51e0d244dd678)
doc/build/changelog/unreleased_13/5989.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/ext.py
test/dialect/postgresql/test_types.py