jorgecarleitao / arrow2

Transmute-free Rust library to work with the Arrow format
Apache License 2.0
1.07k stars 223 forks source link

JSON deserializer unable to parse string timestamps #1456

Closed ayemjay closed 1 year ago

ayemjay commented 1 year ago

When parsing a string timestamp in json to Timestamp datatype returns None for example:

["2023-04-07T12:23:34.000000001Z"]

Issue occurs with current implementation expecting integer values only:

https://github.com/jorgecarleitao/arrow2/blob/73ed7c83034ba5d13ffb643b3aec967074a331c3/src/io/json/read/deserialize.rs#L533-L536