git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-3188) [Python] Table.from_arrays segfaults if lists and schema are passed


Krisztian Szucs created ARROW-3188:
--------------------------------------

             Summary: [Python] Table.from_arrays segfaults if lists and schema are passed
                 Key: ARROW-3188
                 URL: https://issues.apache.org/jira/browse/ARROW-3188
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
            Reporter: Krisztian Szucs
            Assignee: Krisztian Szucs
             Fix For: 0.11.0


{code:python}
    data = [
        list(range(5)),
        [-10, -5, 0, 5, 10]
    ]

    schema = pa.schema([
        pa.field('a', pa.uint16()),
        pa.field('b', pa.int64())
    ])

    pa.Table.from_arrays(data, schema=schema)
{code}

Whereas it should raise a `TypeError`



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