]> 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)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 4 Mar 2021 16:10:44 +0000 (11:10 -0500)
commit780213bfefac7046ac889ffbc1c51e0d244dd678
tree9c484325dc309fb858a644b3e5c72c6c48acf96e
parenta63b23392fc31766e32b8650127d9006ee189a0f
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
doc/build/changelog/unreleased_13/5989.rst [new file with mode: 0644]
lib/sqlalchemy/dialects/postgresql/ext.py
test/dialect/postgresql/test_types.py