You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "tustvold (via GitHub)" <gi...@apache.org> on 2023/03/11 16:37:02 UTC

[GitHub] [arrow-rs] tustvold commented on a diff in pull request #3845: Add timezone support to JSON reader

tustvold commented on code in PR #3845:
URL: https://github.com/apache/arrow-rs/pull/3845#discussion_r1133117710


##########
arrow-array/src/types.rs:
##########
@@ -287,30 +287,28 @@ impl ArrowTemporalType for DurationMicrosecondType {}
 impl ArrowTemporalType for DurationNanosecondType {}
 
 /// A timestamp type allows us to create array builders that take a timestamp.
-pub trait ArrowTimestampType: ArrowTemporalType {
+pub trait ArrowTimestampType: ArrowTemporalType<Native = i64> {

Review Comment:
   This is not a breaking change as these types are sealed, but it simplifies generic code as i64 is guaranteed



-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org