You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2021/05/03 15:30:00 UTC

[jira] [Assigned] (ARROW-12617) [Python] pyarrow.orc.write_table signature reverses that of pyarrow.parquet.write_table

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

Antoine Pitrou reassigned ARROW-12617:
--------------------------------------

    Assignee: Joris Van den Bossche

> [Python] pyarrow.orc.write_table signature reverses that of pyarrow.parquet.write_table
> ---------------------------------------------------------------------------------------
>
>                 Key: ARROW-12617
>                 URL: https://issues.apache.org/jira/browse/ARROW-12617
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 4.0.0
>         Environment: Ubuntu 18.04
> Python 3.7
>            Reporter: Simon Perkins
>            Assignee: Joris Van den Bossche
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 5.0.0, 4.0.1
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> The following signatures are inverted and for consistency it would be good for them to align:
> {code:python}
> pyarrow.parquet.write_table(table, where)
> pyarrow.orc.write_table(where, table)
> {code}
> {code:python}
> In [1]: import pyarrow.parquet as pa
> In [2]: import pyarrow.orc as po
> In[3]: pa.write_table?
> Signature:
> pa.write_table(
>     table,
>     where,
>     row_group_size=None,
>     version='1.0',
>     use_dictionary=True,
>     compression='snappy',
>     write_statistics=True,
>     use_deprecated_int96_timestamps=None,
>     coerce_timestamps=None,
>     allow_truncated_timestamps=False,
>     data_page_size=None,
>     flavor=None,
>     filesystem=None,
>     compression_level=None,
>     use_byte_stream_split=False,
>     data_page_version='1.0',
>     use_compliant_nested_type=False,
>     **kwargs,
> In [11]: po.write_table?
> Signature: po.write_table(where, table)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)