Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add APIs to decimal vector for writing big endian data #17935

Closed
asfimport opened this issue Dec 22, 2017 · 1 comment
Closed

Add APIs to decimal vector for writing big endian data #17935

asfimport opened this issue Dec 22, 2017 · 1 comment
Assignees
Milestone

Comments

@asfimport
Copy link

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.

Reporter: Siddharth Teotia / @siddharthteotia
Assignee: Siddharth Teotia / @siddharthteotia

PRs and other links:

Note: This issue was originally created as ARROW-1946. Please see the migration documentation for further details.

@asfimport
Copy link
Author

Siddharth Teotia / @siddharthteotia:
Issue resolved by pull request 1443
#1443

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants