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] Introduce scan.file-creation-time-millis #2452

Merged
merged 3 commits into from
Dec 5, 2023

Conversation

JingsongLi
Copy link
Contributor

Purpose

Old "scan.timestamp-millis":
Optional timestamp used in case of \"from-timestamp\" scan mode. If there is no snapshot earlier than this time, the earliest snapshot will be chosen.
The biggest problem is this rely on snapshots, but snapshot only live for 1 hour by default.

Introduce "scan.file-creation-time-millis" for streaming read.
After configuring this time, only the data files created after this time will be read. It is independent of snapshots, but it is imprecise filtering (depending on whether or not compaction occurs).

Tests

API and Format

Documentation

Copy link
Contributor

@yuzelin yuzelin left a comment

Choose a reason for hiding this comment

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

+1

@yuzelin yuzelin merged commit 6ff60c5 into apache:master Dec 5, 2023
10 checks passed
@JingsongLi JingsongLi deleted the file-creation branch January 3, 2024 06:24
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