You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Andrew Lamb (Jira)" <ji...@apache.org> on 2021/04/07 17:48:00 UTC

[jira] [Created] (ARROW-12267) [Rust] JSON writer does not support timestamp types

Andrew Lamb created ARROW-12267:
-----------------------------------

             Summary: [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


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)