apache / apache/paimon

[Feature] Introduce a memory option to control column batch size

Open
#2,465 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
3.4k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
396

Description

### Search before asking

- [X] I searched in the [issues](https://github.com/apache/incubator-paimon/issues) and found nothing similar.

### Motivation

Now it is hard to use `read.batch-size、orc.write.batch-size`, because every row has different memory size.
We can introduce a memory option to control column batch size

### Solution

_No response_

### Anything else?

_No response_

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the read.batch-size and orc.write.batch-size options to understand how column batches are currently sized. Define the memory option and its behavior for rows with different memory usage, then add coverage for the resulting batch-size control. The issue provides no files, tests, or proposed solution, so the intended behavior needs clarification first.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.