[jira] [Updated] (ARROW-1470) [C++] Add BufferAllocator abstract interface
[ https://issues.apache.org/jira/browse/ARROW-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wes McKinney updated ARROW-1470: Fix Version/s: (was: 0.14.0) > [C++] Add BufferAllocator abstract interface > > > Key: ARROW-1470 > URL: https://issues.apache.org/jira/browse/ARROW-1470 > Project: Apache Arrow > Issue Type: New Feature > Components: C++ >Reporter: Wes McKinney >Assignee: Wes McKinney >Priority: Major > > There are some situations ({{arrow::ipc::SerializeRecordBatch}} where we pass > a {{MemoryPool*}} solely to call {{AllocateBuffer}} using it. This is not as > flexible as it could be, since there are situation where we may wish to > allocate from shared memory instead. > So instead: > {code} > Func(..., BufferAllocator* allocator, ...) { > ... > std::shared_ptr buffer; > RETURN_NOT_OK(allocator->Allocate(nbytes, &buffer)); > ... > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (ARROW-1470) [C++] Add BufferAllocator abstract interface
[ https://issues.apache.org/jira/browse/ARROW-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wes McKinney updated ARROW-1470: Fix Version/s: (was: 0.13.0) 0.14.0 > [C++] Add BufferAllocator abstract interface > > > Key: ARROW-1470 > URL: https://issues.apache.org/jira/browse/ARROW-1470 > Project: Apache Arrow > Issue Type: New Feature > Components: C++ >Reporter: Wes McKinney >Assignee: Wes McKinney >Priority: Major > Fix For: 0.14.0 > > > There are some situations ({{arrow::ipc::SerializeRecordBatch}} where we pass > a {{MemoryPool*}} solely to call {{AllocateBuffer}} using it. This is not as > flexible as it could be, since there are situation where we may wish to > allocate from shared memory instead. > So instead: > {code} > Func(..., BufferAllocator* allocator, ...) { > ... > std::shared_ptr buffer; > RETURN_NOT_OK(allocator->Allocate(nbytes, &buffer)); > ... > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (ARROW-1470) [C++] Add BufferAllocator abstract interface
[ https://issues.apache.org/jira/browse/ARROW-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wes McKinney updated ARROW-1470: Fix Version/s: (was: 0.12.0) 0.13.0 > [C++] Add BufferAllocator abstract interface > > > Key: ARROW-1470 > URL: https://issues.apache.org/jira/browse/ARROW-1470 > Project: Apache Arrow > Issue Type: New Feature > Components: C++ >Reporter: Wes McKinney >Priority: Major > Fix For: 0.13.0 > > > There are some situations ({{arrow::ipc::SerializeRecordBatch}} where we pass > a {{MemoryPool*}} solely to call {{AllocateBuffer}} using it. This is not as > flexible as it could be, since there are situation where we may wish to > allocate from shared memory instead. > So instead: > {code} > Func(..., BufferAllocator* allocator, ...) { > ... > std::shared_ptr buffer; > RETURN_NOT_OK(allocator->Allocate(nbytes, &buffer)); > ... > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (ARROW-1470) [C++] Add BufferAllocator abstract interface
[ https://issues.apache.org/jira/browse/ARROW-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wes McKinney updated ARROW-1470: Fix Version/s: (was: 0.11.0) 0.12.0 > [C++] Add BufferAllocator abstract interface > > > Key: ARROW-1470 > URL: https://issues.apache.org/jira/browse/ARROW-1470 > Project: Apache Arrow > Issue Type: New Feature > Components: C++ >Reporter: Wes McKinney >Priority: Major > Fix For: 0.12.0 > > > There are some situations ({{arrow::ipc::SerializeRecordBatch}} where we pass > a {{MemoryPool*}} solely to call {{AllocateBuffer}} using it. This is not as > flexible as it could be, since there are situation where we may wish to > allocate from shared memory instead. > So instead: > {code} > Func(..., BufferAllocator* allocator, ...) { > ... > std::shared_ptr buffer; > RETURN_NOT_OK(allocator->Allocate(nbytes, &buffer)); > ... > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (ARROW-1470) [C++] Add BufferAllocator abstract interface
[ https://issues.apache.org/jira/browse/ARROW-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wes McKinney updated ARROW-1470: Fix Version/s: (was: 0.12.0) 0.11.0 > [C++] Add BufferAllocator abstract interface > > > Key: ARROW-1470 > URL: https://issues.apache.org/jira/browse/ARROW-1470 > Project: Apache Arrow > Issue Type: New Feature > Components: C++ >Reporter: Wes McKinney >Priority: Major > Fix For: 0.11.0 > > > There are some situations ({{arrow::ipc::SerializeRecordBatch}} where we pass > a {{MemoryPool*}} solely to call {{AllocateBuffer}} using it. This is not as > flexible as it could be, since there are situation where we may wish to > allocate from shared memory instead. > So instead: > {code} > Func(..., BufferAllocator* allocator, ...) { > ... > std::shared_ptr buffer; > RETURN_NOT_OK(allocator->Allocate(nbytes, &buffer)); > ... > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (ARROW-1470) [C++] Add BufferAllocator abstract interface
[ https://issues.apache.org/jira/browse/ARROW-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe L. Korn updated ARROW-1470: --- Fix Version/s: (was: 0.11.0) 0.12.0 > [C++] Add BufferAllocator abstract interface > > > Key: ARROW-1470 > URL: https://issues.apache.org/jira/browse/ARROW-1470 > Project: Apache Arrow > Issue Type: New Feature > Components: C++ >Reporter: Wes McKinney >Priority: Major > Fix For: 0.12.0 > > > There are some situations ({{arrow::ipc::SerializeRecordBatch}} where we pass > a {{MemoryPool*}} solely to call {{AllocateBuffer}} using it. This is not as > flexible as it could be, since there are situation where we may wish to > allocate from shared memory instead. > So instead: > {code} > Func(..., BufferAllocator* allocator, ...) { > ... > std::shared_ptr buffer; > RETURN_NOT_OK(allocator->Allocate(nbytes, &buffer)); > ... > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (ARROW-1470) [C++] Add BufferAllocator abstract interface
[ https://issues.apache.org/jira/browse/ARROW-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wes McKinney updated ARROW-1470: Fix Version/s: (was: 0.10.0) 0.11.0 > [C++] Add BufferAllocator abstract interface > > > Key: ARROW-1470 > URL: https://issues.apache.org/jira/browse/ARROW-1470 > Project: Apache Arrow > Issue Type: New Feature > Components: C++ >Reporter: Wes McKinney >Priority: Major > Fix For: 0.11.0 > > > There are some situations ({{arrow::ipc::SerializeRecordBatch}} where we pass > a {{MemoryPool*}} solely to call {{AllocateBuffer}} using it. This is not as > flexible as it could be, since there are situation where we may wish to > allocate from shared memory instead. > So instead: > {code} > Func(..., BufferAllocator* allocator, ...) { > ... > std::shared_ptr buffer; > RETURN_NOT_OK(allocator->Allocate(nbytes, &buffer)); > ... > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (ARROW-1470) [C++] Add BufferAllocator abstract interface
[ https://issues.apache.org/jira/browse/ARROW-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wes McKinney updated ARROW-1470: Fix Version/s: (was: 0.9.0) 0.10.0 > [C++] Add BufferAllocator abstract interface > > > Key: ARROW-1470 > URL: https://issues.apache.org/jira/browse/ARROW-1470 > Project: Apache Arrow > Issue Type: New Feature > Components: C++ >Reporter: Wes McKinney >Priority: Major > Fix For: 0.10.0 > > > There are some situations ({{arrow::ipc::SerializeRecordBatch}} where we pass > a {{MemoryPool*}} solely to call {{AllocateBuffer}} using it. This is not as > flexible as it could be, since there are situation where we may wish to > allocate from shared memory instead. > So instead: > {code} > Func(..., BufferAllocator* allocator, ...) { > ... > std::shared_ptr buffer; > RETURN_NOT_OK(allocator->Allocate(nbytes, &buffer)); > ... > } > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (ARROW-1470) [C++] Add BufferAllocator abstract interface
[ https://issues.apache.org/jira/browse/ARROW-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wes McKinney updated ARROW-1470: Fix Version/s: (was: 0.8.0) 0.9.0 > [C++] Add BufferAllocator abstract interface > > > Key: ARROW-1470 > URL: https://issues.apache.org/jira/browse/ARROW-1470 > Project: Apache Arrow > Issue Type: New Feature > Components: C++ >Reporter: Wes McKinney >Assignee: Wes McKinney > Fix For: 0.9.0 > > > There are some situations ({{arrow::ipc::SerializeRecordBatch}} where we pass > a {{MemoryPool*}} solely to call {{AllocateBuffer}} using it. This is not as > flexible as it could be, since there are situation where we may wish to > allocate from shared memory instead. > So instead: > {code} > Func(..., BufferAllocator* allocator, ...) { > ... > std::shared_ptr buffer; > RETURN_NOT_OK(allocator->Allocate(nbytes, &buffer)); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Updated] (ARROW-1470) [C++] Add BufferAllocator abstract interface
[ https://issues.apache.org/jira/browse/ARROW-1470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wes McKinney updated ARROW-1470: Fix Version/s: (was: 0.7.0) 0.8.0 > [C++] Add BufferAllocator abstract interface > > > Key: ARROW-1470 > URL: https://issues.apache.org/jira/browse/ARROW-1470 > Project: Apache Arrow > Issue Type: New Feature > Components: C++ >Reporter: Wes McKinney >Assignee: Wes McKinney > Fix For: 0.8.0 > > > There are some situations ({{arrow::ipc::SerializeRecordBatch}} where we pass > a {{MemoryPool*}} solely to call {{AllocateBuffer}} using it. This is not as > flexible as it could be, since there are situation where we may wish to > allocate from shared memory instead. > So instead: > {code} > Func(..., BufferAllocator* allocator, ...) { > ... > std::shared_ptr buffer; > RETURN_NOT_OK(allocator->Allocate(nbytes, &buffer)); > ... > } > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)