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

Add an optional expirationTimestamp field for pre signed urls #312

Merged
merged 17 commits into from
May 23, 2023

Conversation

linzhou-db
Copy link
Collaborator

@linzhou-db linzhou-db commented May 16, 2023

  • In delta sharing sever, add expirationTimestamp for each action in the response
  • In delta sharing client, update refresh function to return the min expiration timestamp across all urls.
  • In delta sharing client, refresh based on the expiration timestamp
  • In DeltaSharingSource, updated the refresh function to refresh the sortedFetchedFiles, so it doesn't have to do an extra local refresh -- delegate the refresh to CachedTableManager entirely.

@linzhou-db linzhou-db self-assigned this May 17, 2023
@zsxwing zsxwing changed the title Add expiration_time for each action Add an optional expirationTimestamp field for pre signed urls May 18, 2023
@linzhou-db linzhou-db requested a review from zsxwing May 18, 2023 06:57
@chakankardb
Copy link
Collaborator

@zsxwing Can you also please take another look?

@linzhou-db linzhou-db requested a review from zsxwing May 20, 2023 09:28
@linzhou-db
Copy link
Collaborator Author

Manually tested in #313

Copy link
Member

@zsxwing zsxwing left a comment

Choose a reason for hiding this comment

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

LGTM

@linzhou-db linzhou-db merged commit 44bab62 into main May 23, 2023
@linzhou-db linzhou-db deleted the SC-130341 branch July 25, 2023 07:10
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