Test: bugs.gh_8012_test
Title: SELECT crashes the server when LIST(DISTINCT (SELECT ...)) is used as a GROUP BY item
Show cross-report outcomes.  Jump to elapsed_time_chart

Chart of elapsed time, ms: