Skip to content

Commit f68e80d

Browse files
committed
chore: fix compatible spell mistake
1 parent 2213be5 commit f68e80d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/iceberg/src/transaction.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ impl<'a> SnapshotProduceAction<'a> {
317317
if partition_value.fields().len() != partition_type.fields().len() {
318318
return Err(Error::new(
319319
ErrorKind::DataInvalid,
320-
"Partition value is not compatitable with partition type",
320+
"Partition value is not compatible with partition type",
321321
));
322322
}
323323
for (value, field) in partition_value.fields().iter().zip(partition_type.fields()) {
@@ -334,7 +334,7 @@ impl<'a> SnapshotProduceAction<'a> {
334334
{
335335
return Err(Error::new(
336336
ErrorKind::DataInvalid,
337-
"Partition value is not compatitable partition type",
337+
"Partition value is not compatible partition type",
338338
));
339339
}
340340
}
@@ -784,7 +784,7 @@ mod tests {
784784
let tx = Transaction::new(&table);
785785
let mut action = tx.fast_append(None, vec![]).unwrap();
786786

787-
// check add data file with uncompatitable partition value
787+
// check add data file with incompatible partition value
788788
let data_file = DataFileBuilder::default()
789789
.content(DataContentType::Data)
790790
.file_path("test/3.parquet".to_string())

0 commit comments

Comments
 (0)