Wes McKinney created ARROW-2820:
-----------------------------------

             Summary: [Python] RecordBatch.from_arrays does not validate array 
lengths are all equal
                 Key: ARROW-2820
                 URL: https://issues.apache.org/jira/browse/ARROW-2820
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
            Reporter: Wes McKinney
             Fix For: 0.10.0


Example reproduction as reported on https://github.com/apache/arrow/issues/2098

{code}
import pyarrow as pa
data=[pa.array([1]),pa.array(["tokyo", "like", "happy"]),pa.array(["derek"])]
batch = pa.RecordBatch.from_arrays(data, ['id', 'tags', 'name'])
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to