Tidb crashes when sql with shuffleExec exceed tidb_mem_quota_query #48230
Labels
affects-5.3
This bug affects 5.3.x versions.
affects-5.4
This bug affects 5.4.x versions.
affects-6.1
affects-6.5
affects-7.1
affects-7.5
severity/major
sig/execution
SIG execution
type/bug
This issue is a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
run the sql many times(more than 100000 times):
SELECT SUM(i) OVER W FROM t1 WINDOW w AS (PARTITION BY j ORDER BY i) ORDER BY 1+SUM(i) OVER w;
2. What did you expect to see? (Required)
3. What did you see instead (Required)
TiDB crashes.
4. What is your TiDB version? (Required)
nightly-20231101
The text was updated successfully, but these errors were encountered: