You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Siddharth Teotia (JIRA)" <ji...@apache.org> on 2017/12/22 20:22:00 UTC
[jira] [Created] (ARROW-1946) Add APIs to decimal vector for
writing big endian data
Siddharth Teotia created ARROW-1946:
---------------------------------------
Summary: Add APIs to decimal vector for writing big endian data
Key: ARROW-1946
URL: https://issues.apache.org/jira/browse/ARROW-1946
Project: Apache Arrow
Issue Type: Bug
Reporter: Siddharth Teotia
Assignee: Siddharth Teotia
We recently moved Dremio to LE Decimal format (similar to Arrow). As part of that we introduces some APIs in decimal vector which take a big endian data and swap the bytes while writing into the ArrowBuf of decimal vector.
The advantage of these APIs is that caller would not have to allocate an additional memory and write( and read) source big endian twice for swapping into new memory and using that to write into the vector.
We can directly swap bytes while writing into the vector -- just read once and swap while writing.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)