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] Support time travel to watermark in batch mode #3199

Merged
merged 2 commits into from
Apr 11, 2024

Conversation

huyuanfeng2018
Copy link
Contributor

Purpose

Linked issue: close #3198

This is different from other time travel. The expectation is to get the first snapshot greater than the specified watermark. If there is no snapshot greater than the specified watermark, the expected result is to throw an exception.

Tests

org.apache.paimon.spark.SparkTimeTravelITCase#testTravelWithWatermark
org.apache.paimon.flink.BatchFileStoreITCase#testTimeTravelReadWithWatermark

API and Format

Documentation

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 ac62732 into apache:master Apr 11, 2024
10 checks passed
@huyuanfeng2018 huyuanfeng2018 deleted the timeTravel-watermark branch April 15, 2024 03:49
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.

[Feature] Support time travel to watermark in batch mode
2 participants