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

feat(python): add timestamp time travel in delta scan/read #15813

Merged
merged 3 commits into from Apr 22, 2024

Conversation

ion-elgreco
Copy link
Contributor

Adds the timestamp time travel option in the read/scan_delta. Load_as_version is only used when the version is str or timestamp, if it's a numerical version we pass it right away to the DeltaTable class since that will skip reading additional log segments instead of first doing DeltaTable() and then load_as_version.

@github-actions github-actions bot added enhancement New feature or an improvement of an existing feature python Related to Python Polars labels Apr 21, 2024
Copy link

codecov bot commented Apr 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.39%. Comparing base (56dda21) to head (5d35324).
Report is 8 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #15813      +/-   ##
==========================================
- Coverage   80.40%   80.39%   -0.02%     
==========================================
  Files        1264     1263       -1     
  Lines      165423   165346      -77     
==========================================
- Hits       133011   132926      -85     
- Misses      32412    32420       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ritchie46
Copy link
Member

Thanks!

@ritchie46 ritchie46 merged commit fe190b3 into pola-rs:main Apr 22, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or an improvement of an existing feature python Related to Python Polars
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support time travel in read_delta
2 participants