helgikrs opened a new pull request #1166:
URL: https://github.com/apache/arrow-rs/pull/1166


   # Which issue does this PR close?
   
   Closes #703 
   
   # What changes are included in this PR?
   
   Fix a bug in the definition level calculation for fields nested within a 
struct and a list. When a list is empty or null in parquet the nested field 
gets a null value. However, in arrow, the value is simply missing.  When 
serializing an immediate child of the list, the list offsets are used to 
calculate the correct definition level for its children, but it is not carried 
further to fields nested deeper (e.g., fields on a struct within a list).  This 
(somewhat hacky) fix treats a struct within a list as if it were a list.
   
   # Are there any user-facing changes?
   
   No.


-- 
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.

To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org

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


Reply via email to