Skip to content

Conversation

@CTTY
Copy link
Contributor

@CTTY CTTY commented Oct 23, 2025

Which issue does this PR close?

What changes are included in this PR?

  • Move PartitionValueCalculator to core/arrow so it can be reused by RecordBatchPartitionSplitter
  • Allow skipping partition value calculation in partition splitter for projected batches
  • Return <PartitionKey, RecordBatch> rather than <Struct, RecordBatch> pairs in RecordBatchPartitionSplitter::split

Are these changes tested?

Added uts

@CTTY CTTY marked this pull request as ready for review October 26, 2025 01:53
Copy link
Contributor

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @CTTY for this pr, LGTM! Just one minor comment

Copy link
Contributor

@liurenjie1024 liurenjie1024 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @CTTY for this fix!

@liurenjie1024 liurenjie1024 merged commit 0a06c3e into apache:main Oct 28, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor PartitionValueCalculator and RecordBatchPartitionSplitter

2 participants