[ 
https://issues.apache.org/jira/browse/ARROW-16048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antoine Pitrou resolved ARROW-16048.
------------------------------------
    Fix Version/s: 8.0.0
       Resolution: Fixed

Issue resolved by pull request 12752
[https://github.com/apache/arrow/pull/12752]

> [PyArrow] Null buffers with Pickle protocol.
> --------------------------------------------
>
>                 Key: ARROW-16048
>                 URL: https://issues.apache.org/jira/browse/ARROW-16048
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Micah Kornfield
>            Assignee: Antoine Pitrou
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 8.0.0
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> When underlying buffers are null they populate the buffer protocol ".buf" 
> value with a null value.  In some cases this can violate contracts [asserted 
> in 
> cpython|https://github.com/python/cpython/blob/882d8096c262a5945e0cfdd706e5db3ad2b73543/Modules/_pickle.c#L1072].
>   It might be best to always return an empty non-null buffer when the 
> underlying buffer is null.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to