apache / apache/paimon

[help] Using Java-API to implement incremental reading between Snapshots

Open
#5,344 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/paimon/issues) and found nothing similar.

### Motivation

I want to implement incremental data reading of snapshots using the Java-API. I wrote a little bit myself, but I have a few questions to answer.
1. Can I only read the deltaManifest file of a snapshot of type APPEND?
2. If not, how should I handle a large amount of old data (INSERT) in a COMPACT type?
3. If possible, I would like to learn how Flink implements it(incremental-between), but I can't find any relevant documentation.

### 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 with the Java API and the snapshot-reading behavior described in the issue, then compare APPEND and COMPACT snapshots and their deltaManifest files. Review how Flink handles incremental-between, if that implementation is available in the repository. Done means the supported approach for incremental reads and handling old INSERT data is documented clearly.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.