Eduardo Ponce created ARROW-15194:
-------------------------------------

             Summary: [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
             Fix For: 7.0.0


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