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

Eduardo Ponce commented on ARROW-15226:
---------------------------------------

Found that [Cython does not supports function overloading when these are 
defined in 
.pxd|https://cython.readthedocs.io/en/latest/src/userguide/language_basics.html#optional-arguments]
 which is the case for the Arrow data structure bindings in 
{_}includes/libarrow.pxd{_}. We need to provide declarations for each 
overloaded version, which is how it is right now, so no change is required.

> [Python] Update Cython bindings of ChunkedArray constructors
> ------------------------------------------------------------
>
>                 Key: ARROW-15226
>                 URL: https://issues.apache.org/jira/browse/ARROW-15226
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Eduardo Ponce
>            Assignee: Eduardo Ponce
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 7.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> After consolidating ChunkedArray constructors in ARROW-15194, the [Cython 
> binding for the single parameter 
> constructor|https://github.com/apache/arrow/blob/master/python/pyarrow/includes/libarrow.pxd#L728]
>  was not removed. Also, need to set default value for the long-form 
> constructor.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to