Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Jan 15, 2024
1 parent 318190a commit 5dab732
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/it/arrow.rs
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ fn test_map() {
let map = MapArray::new(
data_type.clone(),
offsets.into(),
Arc::new(fields),
Box::new(fields),
Some(validity),
);

Expand Down
6 changes: 3 additions & 3 deletions tests/it/io/json/write.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 5dab732

Please sign in to comment.