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 2022/10/05 08:07:00 UTC

[jira] [Resolved] (ARROW-17924) [Docs] Clarify immutability assumption in the C Data Interface documentation

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

Antoine Pitrou resolved ARROW-17924.
------------------------------------
    Resolution: Fixed

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

> [Docs] Clarify immutability assumption in the C Data Interface documentation
> ----------------------------------------------------------------------------
>
>                 Key: ARROW-17924
>                 URL: https://issues.apache.org/jira/browse/ARROW-17924
>             Project: Apache Arrow
>          Issue Type: Task
>          Components: Documentation, Format
>            Reporter: Joris Van den Bossche
>            Assignee: Antoine Pitrou
>            Priority: Major
>             Fix For: 10.0.0
>
>
> The current documentation (https://arrow.apache.org/docs/dev/format/CDataInterface.html) is not explicit about whether there are any guarantees about (im)mutability. 
> My assumption is that the _consumer_ of C Data Interface structs should _assume_ the data to be immutable by default (unless they would know that the producer is fine with mutating the data). But it would be good to document this.
> (as a reference, the DLPack Python docs mention this: https://dmlc.github.io/dlpack/latest/python_spec.html#semantics)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)