[
https://issues.apache.org/jira/browse/ARROW-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17219342#comment-17219342
]
Bryan Cutler commented on ARROW-1614:
-------------------------------------
bq. As this is for the case where all tensors in the array are of the same
shape I propose we store the data in a single Tensor. Is there a good reason
not to do that?
I believe if there is a single pyarrow.Tensor serialized in the backing binary
array, that array will have a length of 1. Then if placing in a Table or
RecordBatch, would restrict it to 1 row for the other columns as well.
> [C++] Add a Tensor logical value type with constant dimensions, implemented
> using ExtensionType
> -----------------------------------------------------------------------------------------------
>
> Key: ARROW-1614
> URL: https://issues.apache.org/jira/browse/ARROW-1614
> Project: Apache Arrow
> Issue Type: New Feature
> Components: C++, Format
> Reporter: Wes McKinney
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In an Arrow table, we would like to add support for a column that has values
> cells each containing a tensor value, with all tensors having the same
> dimensions. These would be stored as a binary value, plus some metadata to
> store type and shape/strides.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)