Skip to content

Commit

Permalink
fix incorrect nullability for datetime type when writing to arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
Cabbagec authored Aug 24, 2023
1 parent 47df7f4 commit b0fa541
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 @@ -155,7 +155,7 @@ impl ArrowAssoc for DateTime<Utc> {
Field::new(
header,
ArrowDataType::Timestamp(TimeUnit::Nanosecond, None),
true,
false,
)
}
}
Expand All @@ -176,7 +176,7 @@ impl ArrowAssoc for Option<DateTime<Utc>> {
Field::new(
header,
ArrowDataType::Timestamp(TimeUnit::Nanosecond, None),
false,
true,
)
}
}
Expand Down

0 comments on commit b0fa541

Please sign in to comment.