@@ -385,40 +385,40 @@ impl ScalarValue {
385385 }
386386
387387 let array: ArrayRef = match & data_type {
388- DataType :: Boolean => build_array_primative ! ( BooleanArray , Boolean ) ,
389- DataType :: Float32 => build_array_primative ! ( Float32Array , Float32 ) ,
390- DataType :: Float64 => build_array_primative ! ( Float64Array , Float64 ) ,
391- DataType :: Int8 => build_array_primative ! ( Int8Array , Int8 ) ,
392- DataType :: Int16 => build_array_primative ! ( Int16Array , Int16 ) ,
393- DataType :: Int32 => build_array_primative ! ( Int32Array , Int32 ) ,
394- DataType :: Int64 => build_array_primative ! ( Int64Array , Int64 ) ,
395- DataType :: UInt8 => build_array_primative ! ( UInt8Array , UInt8 ) ,
396- DataType :: UInt16 => build_array_primative ! ( UInt16Array , UInt16 ) ,
397- DataType :: UInt32 => build_array_primative ! ( UInt32Array , UInt32 ) ,
398- DataType :: UInt64 => build_array_primative ! ( UInt64Array , UInt64 ) ,
388+ DataType :: Boolean => build_array_primitive ! ( BooleanArray , Boolean ) ,
389+ DataType :: Float32 => build_array_primitive ! ( Float32Array , Float32 ) ,
390+ DataType :: Float64 => build_array_primitive ! ( Float64Array , Float64 ) ,
391+ DataType :: Int8 => build_array_primitive ! ( Int8Array , Int8 ) ,
392+ DataType :: Int16 => build_array_primitive ! ( Int16Array , Int16 ) ,
393+ DataType :: Int32 => build_array_primitive ! ( Int32Array , Int32 ) ,
394+ DataType :: Int64 => build_array_primitive ! ( Int64Array , Int64 ) ,
395+ DataType :: UInt8 => build_array_primitive ! ( UInt8Array , UInt8 ) ,
396+ DataType :: UInt16 => build_array_primitive ! ( UInt16Array , UInt16 ) ,
397+ DataType :: UInt32 => build_array_primitive ! ( UInt32Array , UInt32 ) ,
398+ DataType :: UInt64 => build_array_primitive ! ( UInt64Array , UInt64 ) ,
399399 DataType :: Utf8 => build_array_string ! ( StringArray , Utf8 ) ,
400400 DataType :: LargeUtf8 => build_array_string ! ( LargeStringArray , LargeUtf8 ) ,
401401 DataType :: Binary => build_array_string ! ( BinaryArray , Binary ) ,
402402 DataType :: LargeBinary => build_array_string ! ( LargeBinaryArray , LargeBinary ) ,
403- DataType :: Date32 => build_array_primative ! ( Date32Array , Date32 ) ,
404- DataType :: Date64 => build_array_primative ! ( Date64Array , Date64 ) ,
403+ DataType :: Date32 => build_array_primitive ! ( Date32Array , Date32 ) ,
404+ DataType :: Date64 => build_array_primitive ! ( Date64Array , Date64 ) ,
405405 DataType :: Timestamp ( TimeUnit :: Second , None ) => {
406- build_array_primative ! ( TimestampSecondArray , TimestampSecond )
406+ build_array_primitive ! ( TimestampSecondArray , TimestampSecond )
407407 }
408408 DataType :: Timestamp ( TimeUnit :: Millisecond , None ) => {
409- build_array_primative ! ( TimestampMillisecondArray , TimestampMillisecond )
409+ build_array_primitive ! ( TimestampMillisecondArray , TimestampMillisecond )
410410 }
411411 DataType :: Timestamp ( TimeUnit :: Microsecond , None ) => {
412- build_array_primative ! ( TimestampMicrosecondArray , TimestampMicrosecond )
412+ build_array_primitive ! ( TimestampMicrosecondArray , TimestampMicrosecond )
413413 }
414414 DataType :: Timestamp ( TimeUnit :: Nanosecond , None ) => {
415- build_array_primative ! ( TimestampNanosecondArray , TimestampNanosecond )
415+ build_array_primitive ! ( TimestampNanosecondArray , TimestampNanosecond )
416416 }
417417 DataType :: Interval ( IntervalUnit :: DayTime ) => {
418- build_array_primative ! ( IntervalDayTimeArray , IntervalDayTime )
418+ build_array_primitive ! ( IntervalDayTimeArray , IntervalDayTime )
419419 }
420420 DataType :: Interval ( IntervalUnit :: YearMonth ) => {
421- build_array_primative ! ( IntervalYearMonthArray , IntervalYearMonth )
421+ build_array_primitive ! ( IntervalYearMonthArray , IntervalYearMonth )
422422 }
423423 _ => {
424424 return Err ( DataFusionError :: Internal ( format ! (
0 commit comments