You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Clément Bouscasse (JIRA)" <ji...@apache.org> on 2018/02/02 10:33:00 UTC
[jira] [Updated] (ARROW-2082) SegFault in
pyarrow.parquet.write_table with specific options
[ https://issues.apache.org/jira/browse/ARROW-2082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clément Bouscasse updated ARROW-2082:
-------------------------------------
Description:
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.
was:
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 repo on the github ticket.
> SegFault in pyarrow.parquet.write_table with specific options
> -------------------------------------------------------------
>
> Key: ARROW-2082
> URL: https://issues.apache.org/jira/browse/ARROW-2082
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 0.8.0
> Environment: tested on MacOS High Sierra with python 3.6 and Ubuntu Xenial (Python 3.5)
> Reporter: Clément Bouscasse
> Priority: Major
>
> 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)