You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "zeroshade (via GitHub)" <gi...@apache.org> on 2023/04/22 17:18:29 UTC

[GitHub] [arrow] zeroshade commented on pull request #35276: GH-35202: [Go][Parquet] Fix panic reading nested empty list

zeroshade commented on PR #35276:
URL: https://github.com/apache/arrow/pull/35276#issuecomment-1518710788

   @emkornfield the read crashes inside of Def Levels to Bitmap because the leaf array has no elements despite there being 1 record because it's an empty list. 
   
   The initialization of the bitmap writer attempts to grab a reference to the first byte of the bitmap, but because `lenBound` was 0, we resized the buffer to 0 bytes, so it tries to read byte 0 of an empty slice. It's definitely possible the C++ impl has this same issue, i haven't checked.


-- 
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-unsubscribe@arrow.apache.org

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