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 2022/10/04 08:58:00 UTC
[jira] [Created] (ARROW-17924) [Docs] Clarify immutability assumption in the C Data Interface documentation
Joris Van den Bossche created ARROW-17924:
---------------------------------------------
Summary: [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
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)