Skip to content

Conversation

discivigour
Copy link
Contributor

Purpose

Read incremental changes between start timestamp (exclusive) and end timestamp, for example, 't1,t2' means changes between timestamp t1 and timestamp t2.

Tests

  • test_incremental_timestamp()

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.

Can you update doc to show the new API?

@JingsongLi
Copy link
Contributor

Also you can add with_shard to doc too.

@discivigour
Copy link
Contributor Author

Can you update doc to show the new API?

@discivigour discivigour reopened this Oct 13, 2025
@discivigour
Copy link
Contributor Author

Also you can add with_shard to doc too.

ok.

@discivigour
Copy link
Contributor Author

Can you update doc to show the new API?

ok.

@leaves12138
Copy link
Contributor

leaves12138 commented Oct 13, 2025

get_ealiest_snapshot is the same as get_latest_snapshot:
selt.earliest_file = self.snapshot_dir / "EARLIEST"

for snapshot_id in range(self.startingSnapshotId + 1, self.endingSnapshotId + 1):
snapshot = self.snapshot_manager.get_snapshot_by_id(snapshot_id)
if snapshot:
snapshots_in_range.append(snapshot)
Copy link
Contributor

Choose a reason for hiding this comment

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

If delta scan, we should skip APPEND && OVERWRITE snapshots

Copy link
Contributor

@leaves12138 leaves12138 left a comment

Choose a reason for hiding this comment

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

+1

@leaves12138 leaves12138 merged commit 032fee4 into apache:master Oct 17, 2025
5 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.

3 participants