nevi-me opened a new pull request #234:
URL: https://github.com/apache/arrow-rs/pull/234


   # Which issue does this PR close?
   
   Closes #167 .
   
    # Rationale for this change
   
   We have been creating incorrect list types when reading Parquet lists to 
Arrow. If we have a list with field type:
   
   ```rust
   let list_field = Field::new("a", DataType::List(Box::new(Field::new("item", 
DataType::_, true))), true);
   ```
   
   We would instead read this list in as
   
   ```rust
   let list_field = Field::new("a", DataType::List(Box::new(Field::new("a", 
DataType::_, true))), true);
   ```
   
   With the list child taking the list's name of `"a"`.
   
   # What changes are included in this PR?
   
   This PR fixes the above issue.
   it also fixes the order of the `LevelInfo` that's generated, as I identified 
this issue while fixing the test case for the above issue.
   
   # Are there any user-facing changes?
   
   No user changes
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to