apache / apache/hudi

Sort data when creating a new version of file

Open
#14,761 0 comments 0 reactions 0 assignees View on GitHub
area:writer from-jira priority:high type:improvement
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

Add option to sort data by specific file when creating new version of file. Anytime we open a file and write data (whehther to apply updates/add new records), we want to sort data in the file by specified column(s).

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-1631
- Type: Improvement
- Epic: https://issues.apache.org/jira/browse/HUDI-1628

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. Start by tracing how Hudi opens a file and writes updates or new records when creating a new version, then determine where sort columns would be configured and applied. Done means the option sorts written data by the specified columns for both update and new-record paths, with coverage for the supported write behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Feature
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.