[ 
https://issues.apache.org/jira/browse/ARROW-9062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Neville Dipale resolved ARROW-9062.
-----------------------------------
    Fix Version/s: 1.0.0
       Resolution: Fixed

Issue resolved by pull request 7379
[https://github.com/apache/arrow/pull/7379]

> [Rust] Support to read JSON into dictionary type
> ------------------------------------------------
>
>                 Key: ARROW-9062
>                 URL: https://issues.apache.org/jira/browse/ARROW-9062
>             Project: Apache Arrow
>          Issue Type: Sub-task
>          Components: Rust
>            Reporter: Sven Wagner-Boysen
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.0.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Currently a JSON reader build from a schema using the type dictionary for one 
> of the fields in the schema will fail with JsonError("struct types are not 
> yet supported")
> {code:java}
> let builder = ReaderBuilder::new().with_schema(..)
> let mut reader: Reader<File> = 
> builder.build::<File>(File::open(path).unwrap()).unwrap();
> let rb = reader.next().unwrap()
> {code}
>  
> Suggested solution:
> Support reading into a dictionary in Json Reader: 
> [https://github.com/apache/arrow/blob/master/rust/arrow/src/json/reader.rs#L368]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to