File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ( ) )
You can’t perform that action at this time.
0 commit comments