Skip to content

Commit 45e0d23

Browse files
authored
Update src/iceberg/table_requirement.cc
1 parent 7ec949c commit 45e0d23

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/iceberg/table_requirement.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,6 @@ Status AssertRefSnapshotID::Validate(const TableMetadata* base) const {
7676
}
7777

7878
Status AssertLastAssignedFieldId::Validate(const TableMetadata* base) const {
79-
if (base == nullptr) {
80-
return CommitFailed("Requirement failed: current table metadata is missing");
81-
}
82-
8379
if (base && base->last_column_id != last_assigned_field_id_) {
8480
return CommitFailed(
8581
"Requirement failed: last assigned field ID does not match, expected {} != {}",

0 commit comments

Comments
 (0)