Skip to content

Commit 3543dfd

Browse files
committed
Fix last_column_id
1 parent 15f18ed commit 3543dfd

File tree

1 file changed

+1
-1
lines changed
  • crates/iceberg/src/catalog

1 file changed

+1
-1
lines changed

crates/iceberg/src/catalog/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ impl TableUpdate {
451451
last_column_id,
452452
} => {
453453
if let Some(last_column_id) = last_column_id {
454-
if builder.last_column_id() < last_column_id {
454+
if builder.last_column_id() > last_column_id {
455455
return Err(Error::new(
456456
ErrorKind::DataInvalid,
457457
format!(

0 commit comments

Comments
 (0)