Skip to content

feat(cdf): support set start/end timestamp in cdf#5378

Merged
yanghua merged 10 commits intolance-format:mainfrom
zhangyue19921010:cdf_support_set_timestamp
Jan 13, 2026
Merged

feat(cdf): support set start/end timestamp in cdf#5378
yanghua merged 10 commits intolance-format:mainfrom
zhangyue19921010:cdf_support_set_timestamp

Conversation

@zhangyue19921010
Copy link
Copy Markdown
Contributor

@zhangyue19921010 zhangyue19921010 commented Dec 1, 2025

closes: #5445

Iterate through versions, find the first version that is greater than or equal to it based on the begin date, and find the last version that is less than it based on the end_date

        let delta = ds
            .delta()
            .with_begin_date(begin_ts)
            .with_end_date(end_ts)
            .build()
            .unwrap();

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@github-actions github-actions Bot added the enhancement New feature or request label Dec 1, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 1, 2025

Codecov Report

❌ Patch coverage is 85.83333% with 17 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
rust/lance/src/dataset/delta.rs 85.83% 11 Missing and 6 partials ⚠️

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Collaborator

@yanghua yanghua left a comment

Choose a reason for hiding this comment

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

LGTM. It would be better to update the related documentation: https://lance.org/format/table/row_id_lineage/#change-data-feed

@yanghua yanghua merged commit eaac54a into lance-format:main Jan 13, 2026
28 checks passed
jackye1995 pushed a commit to jackye1995/lance that referenced this pull request Jan 21, 2026
closes: lance-format#5445

Iterate through versions, find the first version that is greater than or
equal to it based on the begin date, and find the last version that is
less than it based on the end_date

```
        let delta = ds
            .delta()
            .with_begin_date(begin_ts)
            .with_end_date(end_ts)
            .build()
            .unwrap();
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhance the capabilities of Lance Change Data Feed

2 participants