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

Eduardo Ponce edited comment on ARROW-14449 at 10/22/21, 10:41 PM:
-------------------------------------------------------------------

The PR adds _column_data()_ methods to *CRecordBatch* but not to [Python's 
*RecordBatch*](https://github.com/apache/arrow/blob/master/python/pyarrow/table.pxi#L635)
 because *ArrayData* is not exposed in Python, only in Cython.

So not sure how worth it, it is to expose _column_data()_ methods.


was (Author: edponce):
The PR adds _column_data() methods to *CRecordBatch* but not to [Python's 
*RecordBatch*](https://github.com/apache/arrow/blob/master/python/pyarrow/table.pxi#L635)
 because *ArrayData* is not exposed in Python, only in Cython.

> [Python] RecordBatch in Cython is missing column_data method
> ------------------------------------------------------------
>
>                 Key: ARROW-14449
>                 URL: https://issues.apache.org/jira/browse/ARROW-14449
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Python
>            Reporter: Eduardo Ponce
>            Assignee: Eduardo Ponce
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 7.0.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> From GitHub issue: [https://github.com/apache/arrow/issues/11523]
> [RecordBatch in 
> Cython|https://github.com/apache/arrow/blob/master/python/pyarrow/includes/libarrow.pxd#L746]
>  is missing the [*column_data* 
> method|https://github.com/apache/arrow/blob/master/cpp/src/arrow/record_batch.h#L107].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to