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

Commit timestamp is retrieved from file timestamp instead of delta logfile, breaking functionality when log files are moved and/or restored #3690

Open
samvruggink opened this issue Sep 19, 2024 · 1 comment

Comments

@samvruggink
Copy link

Since the timestamp is retrieved from the file timestamp, when doing a full restore (moving files) or moving the _delta_log contents. The timestamps will all share the same value, breaking the functionality of restoring to a point in time.

Could this be changed to the commit timestamp that is available in the actual log file?

@felipepessoto
Copy link
Contributor

Hi @samvruggink. Are you talking about delta standalone specifically?

In Spark Delta, the In-Commit Timestamps may help you, it is in preview.

https://github.com/delta-io/delta/pull/2596/files#diff-98df89d4b0ce76abb5263d4fbb6f991660083a254dcdb9d922a4973a9937a4e2

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

No branches or pull requests

2 participants