Skip to content

[Bug] MemExceed in SortNode when enable spilling and use multi spill operator #4137

@HappenLee

Description

@HappenLee

Describe the bug
MemExceed in SortNode when enable spilling and use multi spill operator, when we use PartitionAggregateNode or PartitionHash join node also need to spill to disk.

To Reproduce

  1. Enable spilling first
  2. Exec select a, sum(b) group by a order by a;
  3. Make Sure PartitionAggregateNode and SortNode both need BufferBlockMgr to spill to disk
  4. See error

Expected behavior
Do not show MemExceed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions