Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] when use from-timestamp read data from snapshot, if time < earliestSnapshot time , no data return (#3904) #3910

Merged
merged 4 commits into from
Aug 11, 2024

Conversation

chunji96
Copy link
Contributor

@chunji96 chunji96 commented Aug 6, 2024

…liestSnapshot time , no data return (#3904)

Purpose

Linked issue: close #xxx

Tests

API and Format

Documentation

@JingsongLi
Copy link
Contributor

Can you add unit test and solve test failure?

@chunji96
Copy link
Contributor Author

chunji96 commented Aug 7, 2024

Can you add unit test and solve test failure?

ok,i will resolve it,thks @JingsongLi

@chunji96
Copy link
Contributor Author

chunji96 commented Aug 7, 2024

in #3904 ,method org.apache.paimon.utils.SnapshotManager#earlierOrEqualTimeMills ,if earliestSnapShot.timeMillis() > timestampMills , will return earliestSnapShot. it will lead to earliestSnapShot excluded when use incremental-between-timestamp. i had fix it ,please take a look,thks @JingsongLi

Copy link
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

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

+1

@JingsongLi JingsongLi merged commit 8d76bdb into apache:master Aug 11, 2024
10 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.

2 participants