Skip to content

Commit

Permalink
REST: Set metadata location for lazy load snapshot (apache#7051)
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanck authored Mar 9, 2023
1 parent 8f8f0f1 commit f5f45ea
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,7 @@ public Table loadTable(SessionContext context, TableIdentifier identifier) {
if (snapshotMode == SnapshotMode.REFS) {
tableMetadata =
TableMetadata.buildFrom(response.tableMetadata())
.withMetadataLocation(response.metadataLocation())
.setSnapshotsSupplier(
() ->
loadInternal(context, identifier, SnapshotMode.ALL)
Expand Down

0 comments on commit f5f45ea

Please sign in to comment.