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

Core: Update metadata location without updating lastUpdatedMillis #11151

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

nastra
Copy link
Contributor

@nastra nastra commented Sep 17, 2024

Using TableMetadata.buildFrom(metadata).withMetadataLocation(metadataLocation).build() would do the following things:

  • update lastUpdatedMillis
  • write a new metadata-log entry

However, in LoadTableResponse the goal is to only update the metadata location without updating the two mentioned things above.

@nastra nastra force-pushed the fix-loadtable-resp-metadata branch 2 times, most recently from 8845d10 to 72211c0 Compare September 17, 2024 18:13
Using `TableMetadata.buildFrom(metadata).withMetadataLocation(metadataLocation).build()` would do the following things:
- update `lastUpdatedMillis`
- write a new `metadata-log` entry

However, in `LoadTableResponse` the goal is to only update the metadata location without updating the two mentioned things above.

updates
@rdblue
Copy link
Contributor

rdblue commented Sep 17, 2024

Thanks for the update! Looks good now. Please merge when tests are passing.

@nastra nastra merged commit f71c7df into apache:main Sep 18, 2024
46 checks passed
@nastra nastra deleted the fix-loadtable-resp-metadata branch September 18, 2024 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants