From 2672ea9994132e53f76b2b6e4aed6802f3ac02f5 Mon Sep 17 00:00:00 2001 From: Marko Grujic Date: Mon, 14 Nov 2022 14:50:10 +0100 Subject: [PATCH] Remove the timezone from the field type as no builder fits it --- connectorx/src/destinations/arrow/arrow_assoc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connectorx/src/destinations/arrow/arrow_assoc.rs b/connectorx/src/destinations/arrow/arrow_assoc.rs index ff9630dff4..2f15b829bb 100644 --- a/connectorx/src/destinations/arrow/arrow_assoc.rs +++ b/connectorx/src/destinations/arrow/arrow_assoc.rs @@ -154,7 +154,7 @@ impl ArrowAssoc for DateTime { fn field(header: &str) -> Field { Field::new( header, - ArrowDataType::Timestamp(TimeUnit::Nanosecond, Some("UTC".to_string())), + ArrowDataType::Timestamp(TimeUnit::Nanosecond, None), true, ) } @@ -175,7 +175,7 @@ impl ArrowAssoc for Option> { fn field(header: &str) -> Field { Field::new( header, - ArrowDataType::Timestamp(TimeUnit::Nanosecond, Some("UTC".to_string())), + ArrowDataType::Timestamp(TimeUnit::Nanosecond, None), false, ) }