Fokko commented on code in PR #710:
URL: https://github.com/apache/iceberg-rust/pull/710#discussion_r1861040601
##########
crates/iceberg/src/arrow/schema.rs:
##########
@@ -382,12 +382,15 @@ impl ArrowSchemaVisitor for ArrowSchemaConverter {
DataType::Time64(unit) if unit == &TimeUnit::Microsecond => {
Ok(Type::Primitive(PrimitiveType::Time))
}
- DataType::Timestamp(unit, None) if unit == &TimeUnit::Microsecond
=> {
+ DataType::Timestamp(unit, None)
+ if unit == &TimeUnit::Microsecond || unit ==
&TimeUnit::Nanosecond =>
+ {
Ok(Type::Primitive(PrimitiveType::Timestamp))
Review Comment:
No problem at all, thanks for adding this 🙌
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]