You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "elliotmr (via GitHub)" <gi...@apache.org> on 2024/02/02 22:12:27 UTC

[I] [Go][Parquet] Reslicing for nullable dictionary in chunked writer is bugged [arrow]

elliotmr opened a new issue, #39925:
URL: https://github.com/apache/arrow/issues/39925

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   If you create a dictionary array that is marked as nullable but doesn't have any null values in it, the code executes some re-clinging logic that is faulty on line:
   
   https://github.com/apache/arrow/blob/main/go/parquet/file/column_writer.go#L662C84-L662C99
   
   There are 2 problems:
   
   1. It assumes that the underlying value array is Int32, this is not a requirement.
   2. The end of the slice needs to have the start of the slice added onto it or you will have a negative array length.
   
   
   ### Component(s)
   
   Go


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

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


Re: [I] [Go][Parquet] Reslicing for nullable dictionary in chunked writer is bugged [arrow]

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade closed issue #39925: [Go][Parquet] Reslicing for nullable dictionary in chunked writer is bugged
URL: https://github.com/apache/arrow/issues/39925


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

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