jackye1995 commented on a change in pull request #2354:
URL: https://github.com/apache/iceberg/pull/2354#discussion_r603455719
##########
File path: core/src/main/java/org/apache/iceberg/TableMetadata.java
##########
@@ -573,8 +610,43 @@ public TableMetadata replaceSortOrder(SortOrder newOrder) {
return new TableMetadata(null, formatVersion, uuid, location,
lastSequenceNumber, System.currentTimeMillis(), lastColumnId,
currentSchemaId, schemas, defaultSpecId, specs,
- lastAssignedPartitionId, newOrderId, builder.build(), properties,
currentSnapshotId, snapshots, snapshotLog,
- addPreviousFile(file, lastUpdatedMillis));
+ lastAssignedPartitionId, newOrderId, builder.build(), defaultRowKeyId,
rowKeys,
+ properties, currentSnapshotId, snapshots, snapshotLog,
addPreviousFile(file, lastUpdatedMillis));
+ }
+
+ public TableMetadata updateRowKey(RowKey newKey) {
Review comment:
Yes, I have a separate PR for that after this is out.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]