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

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

     [ https://issues.apache.org/jira/browse/ARROW-3188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated ARROW-3188:
----------------------------------
    Labels: pull-request-available  (was: )

> [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
>            Priority: Major
>              Labels: pull-request-available
>             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)