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

Antoine Pitrou commented on ARROW-3831:
---------------------------------------

The current use case is that you already know the decompressed size, because 
the information was recorded somewhere (in e.g. a Parquet file).

> [C++] arrow::util::Codec::Decompress() doesn't return decompressed data size
> ----------------------------------------------------------------------------
>
>                 Key: ARROW-3831
>                 URL: https://issues.apache.org/jira/browse/ARROW-3831
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 0.11.1
>            Reporter: Kouhei Sutou
>            Priority: Major
>
> We can't know decompressed data size when we only have compressed data. The 
> current {{arrow::util::Codec::Decompress()}} doesn't return decompressed data 
> size. So we can't know which data in {{output_buffer}} can be used.
> FYI: {{arrow::util::Codec::Compress()}} returns compressed data size.



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

Reply via email to