Skip to content

[Bug] TPCH 1T q18 fails with spill level too deep on main #24836

Closed

Description

@Ariznawlll

Issue Description

In the nightly regression for matrixorigin/matrixone main branch, TPCH BENCHMARK TEST failed during TPCH 1T. In the first TPCH 1T round, q18 returned internal error: spill level too deep. The job then continued to q20 and was canceled, so Force GC and Collect and Check Test Result were skipped.

Environment

Key Logs

2026-06-04 08:40:18 This test will be run for 4 times
2026-06-04 08:40:18 The 1 turn test has started, please wait.......
...
2026-06-04 09:09:45 The query_id is: 019e901e-1418-7e90-aa59-ed157af80880
2026-06-04 09:09:46 Now start to compare query result for [report/TPCH_1000/q18.txt,golden/TPCH_1000/q18.txt]
2026-06-04 09:09:46 The row count of two files does not equal to each other, [report/TPCH_1000/q18.txt] and [golden/TPCH_1000/q18.txt]
2026-06-04 09:09:46 The row count of file[report/TPCH_1000/q18.txt] is 0, but the row count of file[golden/TPCH_1000/q18.txt] is 100
2026-06-04 09:09:46The real result is:
ERROR 20101 (HY000) at line 1: internal error: spill level too deep
2026-06-04 09:09:46 The query q18  has failed to  be executed,and cost: 1035084

2026-06-04 09:10:27 Now start to execute the query q20,please wait.....
##[error]The operation was canceled.

Impact

  • TPCH 1G, 10G and 100G completed successfully.
  • TPCH 1T q18 returned 0 rows, while the golden result expects 100 rows.
  • The TPCH job was canceled before result collection, so this nightly run has no collected TPCH result for trend/regression checking.

Expected Behavior

TPCH 1T q18 on MatrixOne main should complete successfully and return results consistent with the golden output.

Suggested Investigation

  1. Check why TPCH 1T q18 on commit 093504360d51f9d9ee32a1c4293036e3adb09263 triggers spill level too deep.
  2. Verify whether this is related to spill configuration, memory limit, or a q18 plan/execution change.
  3. If possible, keep/upload mo-tpch/report when the TPCH job fails or is canceled, so failed-query artifacts are easier to diagnose.

Activity

  1. added theissue type on Jun 4, 2026
  2. added this to the MO-202606 milestone on Jun 4, 2026
  3. Ariznawlll commented on Jun 4, 2026

    @Ariznawlll
    CollaboratorAuthor

    补充一次 nightly 回归现象:

    ERROR 20101 (HY000) at line 1: internal error: spill level too deep
    

    结果对比时,report/TPCH_1000/q18.txt 行数为 0,而 golden/TPCH_1000/q18.txt 期望 100 行。

    同一个 run 中,TPCH 1G/10G/100G 的 q18 都可以执行成功;问题出现在 TPCH 1T 的 q18。

  4. Ariznawlll commented on Jun 5, 2026

    @Ariznawlll
    CollaboratorAuthor
  5. assigned and unassigned on Jun 9, 2026
  6. Ariznawlll commented on Jun 9, 2026

    @Ariznawlll
    CollaboratorAuthor

    已恢复正常

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/memorykind/bugperf/ap

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions