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

Aliaksei Sandryhaila commented on PARQUET-542:
----------------------------------------------

Tentatively:
- introduce a MemoryPool interface with Allocate() and Free() methods;
- implement a default class that uses std::malloc() and std::free();
- have Buffer and its descendants use a specified MemoryPool class.

If you want to have compatibility with Impala, MemPool (that was ported from 
Impala) can be made a descendant of the MemoryPool interface.

> Support memory allocation from external memory
> ----------------------------------------------
>
>                 Key: PARQUET-542
>                 URL: https://issues.apache.org/jira/browse/PARQUET-542
>             Project: Parquet
>          Issue Type: New Feature
>          Components: parquet-cpp
>            Reporter: Deepak Majeti
>            Assignee: Aliaksei Sandryhaila
>
> Implement a MemoryPool like class that provides memory allocation/management 
> for external provided memory



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to