You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Uwe L. Korn (JIRA)" <ji...@apache.org> on 2018/04/18 10:57:00 UTC

[jira] [Resolved] (PARQUET-1274) [Python] SegFault in pyarrow.parquet.write_table with specific options

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

Uwe L. Korn resolved PARQUET-1274.
----------------------------------
    Resolution: Fixed

Issue resolved by pull request 456
[https://github.com/apache/parquet-cpp/pull/456]

> [Python] SegFault in pyarrow.parquet.write_table with specific options
> ----------------------------------------------------------------------
>
>                 Key: PARQUET-1274
>                 URL: https://issues.apache.org/jira/browse/PARQUET-1274
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-cpp
>         Environment: tested on MacOS High Sierra with python 3.6 and Ubuntu Xenial (Python 3.5)
>            Reporter: Clément Bouscasse
>            Assignee: Joshua Storck
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: cpp-1.5.0
>
>
> I originally filed an issue in the pandas project but we've tracked it down to arrow itself, when called via pandas in specific circumstances:
> [https://github.com/pandas-dev/pandas/issues/19493]
> basically using
> {code:java}
>  df.to_parquet('filename.parquet', flavor='spark'){code}
> gives a seg fault if `df` contains a datetime column.
> Under the covers,  pandas translates this to the following call:
> {code:java}
> pq.write_table(table, 'output.parquet', flavor='spark', compression='snappy', coerce_timestamps='ms')
> {code}
> which gives me an instant crash.
> There is a repro on the github ticket.
>  
>  



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