-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Python] Introduce incremental-between read by timestamp #6391
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
Conversation
There was a problem hiding this 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?
Also you can add with_shard to doc too. |
|
ok. |
ok. |
get_ealiest_snapshot is the same as get_latest_snapshot: |
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) |
There was a problem hiding this comment.
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
f8dab74
to
b6ec35a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
Purpose
Read incremental changes between start timestamp (exclusive) and end timestamp, for example, 't1,t2' means changes between timestamp t1 and timestamp t2.
Tests
API and Format
Documentation