[ 
https://issues.apache.org/jira/browse/ARROW-3877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855782#comment-16855782
 ] 

Wes McKinney commented on ARROW-3877:
-------------------------------------

If we wanted our {{pyarrow.compress}} and {{pyarrow.decompress}} functions to 
be interchangeable with their counterparts in such libraries like 
python-snappy, it would be helpful to be able to invoke decompress without 
knowing the exact uncompressed length. Some compressors require the 
uncompressed length so in that case NotImplemented would be returned

> [C++] Provide access to "maximum decompressed size" functions in compression 
> libraries (if they exist)
> ------------------------------------------------------------------------------------------------------
>
>                 Key: ARROW-3877
>                 URL: https://issues.apache.org/jira/browse/ARROW-3877
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Wes McKinney
>            Priority: Major
>             Fix For: 0.14.0
>
>
> As follow up to ARROW-3831, some compression libraries have a function to 
> provide a hint for sizing the output buffer (if it is not known already) for 
> one-shot decompression. This would be helpful for sizing allocations in such 
> cases



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to