[ 
https://issues.apache.org/jira/browse/ARROW-15194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated ARROW-15194:
-----------------------------------
    Labels: pull-request-available  (was: )

> [C++] ChunkedArray constructor is missing size and type validation
> ------------------------------------------------------------------
>
>                 Key: ARROW-15194
>                 URL: https://issues.apache.org/jira/browse/ARROW-15194
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++
>            Reporter: Eduardo Ponce
>            Assignee: Eduardo Ponce
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 7.0.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> ChunkedArray constructors are validated in terms of size and type of the 
> input Arrays, but the [constructor of the form {{ChunkedArray(arrays, 
> type)}}|https://github.com/apache/arrow/blob/65aa527707d7067bff833bd744ebfd97f1c2c909/cpp/src/arrow/chunked_array.cc#L57-L65]
>  does not performs these checks, thus allowing an empty object with omitted 
> type to be created. Need to add the same checks as the other constructors 
> have.



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

Reply via email to