Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
advancedxy committed Aug 1, 2024
1 parent d4c3956 commit cd8cf08
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion core/src/main/java/org/apache/iceberg/BaseTransaction.java
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ public UpdateProperties updateProperties() {
@Override
public MetadataMaintenance maintenance() {
throw new UnsupportedOperationException(
"Cannot maintenance metadata as part of a transaction");
"Cannot perform metadata maintenance as part of a transaction");
}

@Override
Expand Down
7 changes: 0 additions & 7 deletions core/src/main/java/org/apache/iceberg/MetadataUpdate.java
Original file line number Diff line number Diff line change
Expand Up @@ -175,13 +175,6 @@ public RemoveUnusedSpecs(Set<Integer> specIds) {
public Set<Integer> specIds() {
return specIds;
}

@Override
public void applyTo(TableMetadata.Builder metadataBuilder) {
// metadataBuilder.removeUnusedSpecsById(specIds);
throw new UnsupportedOperationException(
"RemoveUnusedSpecs is not supported for REST catalog yet");
}
}

class AddSortOrder implements MetadataUpdate {
Expand Down

0 comments on commit cd8cf08

Please sign in to comment.