Sven Wagner-Boysen created ARROW-9062:
-----------------------------------------

             Summary: [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
            Reporter: Sven Wagner-Boysen


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