diff --git a/tests/it/arrow.rs b/tests/it/arrow.rs index e0a35c52b7..7da7c92cf6 100644 --- a/tests/it/arrow.rs +++ b/tests/it/arrow.rs @@ -304,7 +304,7 @@ fn test_map() { let map = MapArray::new( data_type.clone(), offsets.into(), - Arc::new(fields), + Box::new(fields), Some(validity), ); diff --git a/tests/it/io/json/write.rs b/tests/it/io/json/write.rs index 9b252100f1..a8ae33a192 100644 --- a/tests/it/io/json/write.rs +++ b/tests/it/io/json/write.rs @@ -428,7 +428,7 @@ fn write_timestamp() -> Result<()> { #[test] fn write_timestamp_with_tz_secs() -> Result<()> { let array = PrimitiveArray::new( - DataType::Timestamp(TimeUnit::Second, Some("UTC".to_owned())), + DataType::Timestamp(TimeUnit::Second, Some("UTC".to_owned().into())), vec![10i64, 1 << 32, 1 << 33].into(), None, ); @@ -441,7 +441,7 @@ fn write_timestamp_with_tz_secs() -> Result<()> { #[test] fn write_timestamp_with_tz_micros() -> Result<()> { let array = PrimitiveArray::new( - DataType::Timestamp(TimeUnit::Microsecond, Some("+02:00".to_owned())), + DataType::Timestamp(TimeUnit::Microsecond, Some("+02:00".to_owned().into())), vec![ 10i64 * 1_000_000, (1 << 32) * 1_000_000, @@ -462,7 +462,7 @@ fn write_timestamp_with_tz_micros() -> Result<()> { #[test] fn write_timestamp_with_chrono_tz_millis() -> Result<()> { let array = PrimitiveArray::new( - DataType::Timestamp(TimeUnit::Millisecond, Some("Europe/Oslo".to_owned())), + DataType::Timestamp(TimeUnit::Millisecond, Some("Europe/Oslo".to_owned().into())), vec![ 10i64 * 1_000, (1 << 32) * 1_000,