szehon-ho commented on code in PR #6716: URL: https://github.com/apache/iceberg/pull/6716#discussion_r1106238037
########## core/src/main/java/org/apache/iceberg/PositionDeletesTable.java: ########## @@ -43,15 +43,21 @@ public class PositionDeletesTable extends BaseMetadataTable { private final Schema schema; + private final int defaultSpecId; + private final Map<Integer, PartitionSpec> specs; PositionDeletesTable(Table table) { - super(table, table.name() + ".position_deletes"); - this.schema = calculateSchema(); + this(table, ".position_deletes"); } PositionDeletesTable(Table table, String name) { super(table, name); this.schema = calculateSchema(); + this.defaultSpecId = table.spec().specId(); + this.specs = Review Comment: Done, hope its what you meant. ########## core/src/main/java/org/apache/iceberg/PositionDeletesTable.java: ########## @@ -43,15 +43,21 @@ public class PositionDeletesTable extends BaseMetadataTable { private final Schema schema; + private final int defaultSpecId; + private final Map<Integer, PartitionSpec> specs; PositionDeletesTable(Table table) { - super(table, table.name() + ".position_deletes"); - this.schema = calculateSchema(); + this(table, ".position_deletes"); Review Comment: Good catch, fixed. -- 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. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org