You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Krisztian Szucs (JIRA)" <ji...@apache.org> on 2018/09/07 13:26:00 UTC

[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)