Skip to content

Commit

Permalink
Remove the timezone from the field type as no builder fits it
Browse files Browse the repository at this point in the history
  • Loading branch information
gruuya committed Nov 21, 2022
1 parent 7cec03b commit 2672ea9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions connectorx/src/destinations/arrow/arrow_assoc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ impl ArrowAssoc for DateTime<Utc> {
fn field(header: &str) -> Field {
Field::new(
header,
ArrowDataType::Timestamp(TimeUnit::Nanosecond, Some("UTC".to_string())),
ArrowDataType::Timestamp(TimeUnit::Nanosecond, None),
true,
)
}
Expand All @@ -175,7 +175,7 @@ impl ArrowAssoc for Option<DateTime<Utc>> {
fn field(header: &str) -> Field {
Field::new(
header,
ArrowDataType::Timestamp(TimeUnit::Nanosecond, Some("UTC".to_string())),
ArrowDataType::Timestamp(TimeUnit::Nanosecond, None),
false,
)
}
Expand Down

0 comments on commit 2672ea9

Please sign in to comment.