aggregate() with 'default' after annotate() crashes. Description
aggregate() with 'default' after annotate() crashes. Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). I saw this on a PostgreSQL project and reproduced it with SQLite. Django 4.0.1. Annotate (anything) then aggregate works fine: $ ./manage.py shell Python 3.10.2 (main, Jan 21…
The task
I saw this on a PostgreSQL project and reproduced it with SQLite. Django 4.0.1. Annotate (anything) then aggregate works fine: $ ./manage.py shell Python 3.10.2 (main, Jan 21 2022, 19:45:54) [Clang 13.0.0 (clang-1300.0.29.30)] Type 'copyright', 'credits' or 'license' for more information IPython 7.30.1 -- An enhanced…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.