apache / apache/hudi

Revisit compact() and logCompact() methods in BaseHoodieWriteClient

Open
#17,000 1 comment 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

Revisit compact() and logCompact() methods in BaseHoodieWriteClient. 

looks like we only need it for metadata table. we should see if we can avoid public methods at writeClient layer. 

 

## JIRA info

- Link: https://issues.apache.org/jira/browse/HUDI-9390
- Type: Improvement

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at BaseHoodieWriteClient and trace callers of compact() and logCompact(), especially the metadata table path. Determine whether these methods are needed outside the metadata table and document the scope before changing their exposure; done means the write-client layer no longer exposes unnecessary public methods, with affected callers still working.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.