You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Sutou Kouhei (Jira)" <ji...@apache.org> on 2019/08/31 03:51:00 UTC

[jira] [Resolved] (ARROW-2769) [C++][Python] Deprecate and rename add_metadata methods

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

Sutou Kouhei resolved ARROW-2769.
---------------------------------
    Resolution: Fixed

Issue resolved by pull request 5232
[https://github.com/apache/arrow/pull/5232]

> [C++][Python] Deprecate and rename add_metadata methods
> -------------------------------------------------------
>
>                 Key: ARROW-2769
>                 URL: https://issues.apache.org/jira/browse/ARROW-2769
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, Python
>            Reporter: Krisztian Szucs
>            Assignee: Krisztian Szucs
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 0.15.0
>
>          Time Spent: 3h 40m
>  Remaining Estimate: 0h
>
> Deprecate and replace `pyarrow.Field.add_metadata` (and other likely named methods) with replace_metadata, set_metadata or with_metadata. Knowing Spark's immutable API, I would have chosen with_metadata but I guess this is probably not what the average Python user would expect as naming.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)