summaryrefslogtreecommitdiff
path: root/tests/postgres_tests/test_array.py
diff options
context:
space:
mode:
authorÉtienne Beaulé <beauleetienne0@gmail.com>2019-06-04 04:01:16 -0300
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-06-05 08:06:26 +0200
commit4b6dfe16226a81fea464ac5f77942f4d6ba266e8 (patch)
treec1bf1b9e49d59cfa8b8084895562fba957d45829 /tests/postgres_tests/test_array.py
parent1f81e2df69c0f62f9bd85bca5b3876a2d8229fde (diff)
Fixed #30542 -- Fixed crash of numerical aggregations with filter.
Filters in annotations crashed when used with numerical-type aggregations (i.e. Avg, StdDev, and Variance). This was caused as the source expressions no not necessarily have an output_field (such as the filter field), which lead to an AttributeError: 'WhereNode' object has no attribute output_field. Thanks to Chuan-Zheng Lee for the report. Regression in c690afb873cac8035a3cb3be7c597a5ff0e4b261 and two following commits.
Diffstat (limited to 'tests/postgres_tests/test_array.py')
0 files changed, 0 insertions, 0 deletions