Wes McKinney created ARROW-6281:
-----------------------------------

             Summary: [Python] Produce chunked arrays for nested types in 
pyarrow.array
                 Key: ARROW-6281
                 URL: https://issues.apache.org/jira/browse/ARROW-6281
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Python
            Reporter: Wes McKinney


As follow up to ARROW-5028 and other issues, in a case like

{code}
vals = [['x' * 1024]] * ((2 << 20) + 1)
arr = pa.array(vals)
{code}

The child array of the ListArray cannot hold all of the string data. After the 
patch for ARROW-5028, an exception is raised rather than returning a malformed 
array. We could (with some effort) instead produce a chunked array of 
list<string> type



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to