Skip to content

Commit 214bfc9

Browse files
bryanckdanielcweeks
authored andcommitted
REST: fix previous locations for refs-only load (#7284)
1 parent 3b47c49 commit 214bfc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/main/java/org/apache/iceberg/rest/RESTSessionCatalog.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,7 @@ public Table loadTable(SessionContext context, TableIdentifier identifier) {
334334
tableMetadata =
335335
TableMetadata.buildFrom(response.tableMetadata())
336336
.withMetadataLocation(response.metadataLocation())
337+
.setPreviousFileLocation(null)
337338
.setSnapshotsSupplier(
338339
() ->
339340
loadInternal(context, identifier, SnapshotMode.ALL)

0 commit comments

Comments
 (0)