apache / apache/gluten

GlobalOffHeapMemory uses storage memory instead of execution memory

Open
#11,137 0 comments 0 reactions 0 assignees View on GitHub
bug triage
Dominant language
Scala
Stars
1.6k
Forks
657
Avg merge
2d 14h
Merged PRs (30d)
80

Description

### Backend

VL (Velox)

### Bug description

GlobalOffHeapMemory uses storage memory instead of execution memory. Since it is used by plan validation and UnsafeColumnarBuildSideRelation, shouldn't it use execution memory? Is it intentional or a bug?

### Gluten version

_No response_

### Spark version

None

### Spark configurations

_No response_

### System information

_No response_

### Relevant logs

```bash

```

Contributor guide

Open the contributing guide

Research direction

Start by locating GlobalOffHeapMemory and tracing its callers in plan validation and UnsafeColumnarBuildSideRelation; compare how those paths use storage and execution memory. Resolve whether the current choice is intentional or a bug, then add or update focused coverage for the resulting behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.