You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Andrew Lamb (Jira)" <ji...@apache.org> on 2021/04/11 09:30:00 UTC
[jira] [Resolved] (ARROW-12267) [Rust] JSON writer does not support
timestamp types
[ https://issues.apache.org/jira/browse/ARROW-12267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Lamb resolved ARROW-12267.
---------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 9968
[https://github.com/apache/arrow/pull/9968]
> [Rust] JSON writer does not support timestamp types
> ---------------------------------------------------
>
> Key: ARROW-12267
> URL: https://issues.apache.org/jira/browse/ARROW-12267
> Project: Apache Arrow
> Issue Type: Bug
> Components: Rust
> Reporter: Andrew Lamb
> Assignee: Andrew Lamb
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Looks like the json writer.rs code in arrow doesn't support writing out timestamps. When I tried to write out a `TimestampNanosecondArray` I got the following error:
> ```
> thread 'influxdb_ioxd::http::tests::test_query_json' panicked at 'Unsupported datatype: Timestamp(
> Nanosecond,
> None,
> )', /Users/alamb/.cargo/git/checkouts/arrow-3a9cfebb6b7b2bdc/3e825a7/rust/arrow/src/json/writer.rs:326:13
> note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
> ```
--
This message was sent by Atlassian Jira
(v8.3.4#803005)