You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Apache Drill, we are looking to pass in a buffer that we have already allocated (in this case from Direct memory), wrapped in a ByteBuffer.
The current effort to allow a ByteBuffer read path is great except that the interface allocates the memory and there is no way for an application to pass in memory that has been allocated or (even better) to provide an allocator.
Additionally, it would be great to be able to use the same approach while decompressing.
As a starting point here is a patch on top of the ByteBuffer read effort that adds a function in CompatibilityUtils and also adds a ByteBuffer path for the Snappy Decompressor. The latter requires Hadoop 2.3 though, so some discussion on this would be called for.
Please let me have any feedback and I can make changes/additions.
Activity
asfimport commentedon Aug 29, 2014
Dmitriy V. Ryaboy / @dvryaboy:
Thanks!
Can you post this as a pull request to the github repo?
You can see the recommended process for contributions in CONTRIBUTING.md:
https://github.com/apache/incubator-parquet-mr/blob/master/CONTRIBUTING.md
asfimport commentedon Sep 4, 2014
Parth Chandra / @parthchandra:
Added a pull request-
https://github.com/apache/incubator-parquet-mr/pull/49
asfimport commentedon Nov 4, 2015
Julien Le Dem / @julienledem:
Issue resolved by pull request 267
#267