You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2021/05/03 11:21:00 UTC
[jira] [Commented] (ARROW-12617) 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:comment-tabpanel&focusedCommentId=17338324#comment-17338324 ]
Joris Van den Bossche commented on ARROW-12617:
-----------------------------------------------
[~sjperkins] thanks for the issue, that's indeed something we should align. It's a bit unfortunate that this is already released, but we can probably make it a warning for some time.
> 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
> Priority: Minor
>
> 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)