You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/04/09 17:54:00 UTC

[jira] [Updated] (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 ]

ASF GitHub Bot updated ARROW-12267:
-----------------------------------
    Labels: pull-request-available  (was: )

> [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
>          Time Spent: 10m
>  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)