[
https://issues.apache.org/jira/browse/ARROW-12196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314933#comment-17314933
]
Micah Kornfield commented on ARROW-12196:
-----------------------------------------
Java can emit these values now. The check there is simpler. Try to compress,
and if doesn't add anything retain the original buffer. For the write side in
C++ since none of this originally was implemented I think we need to control
any new functionality that makes use of this via a Write parameter, so we don't
break existing clients for a while.
> [C++] C++ IPC reading looks like it doesn't support uncompressed buffers
> -------------------------------------------------------------------------
>
> Key: ARROW-12196
> URL: https://issues.apache.org/jira/browse/ARROW-12196
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Micah Kornfield
> Priority: Major
>
> https://github.com/apache/arrow/blob/master/cpp/src/arrow/ipc/reader.cc#L411
> does seems to check for the case (I'm not sure if this is the right code
> though):
> uncompressed length may be set to -1 to indicate that the data that follows
> is not compressed, which can be useful for cases where compression does not
> yield appreciable savings.
> https://github.com/apache/arrow/blob/5cabd31c90dbb32d87074928f68bf5d6e97e37c6/format/Message.fbs#L59
--
This message was sent by Atlassian Jira
(v8.3.4#803005)