[
https://issues.apache.org/jira/browse/ARROW-8714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17223832#comment-17223832
]
Bryan Cutler commented on ARROW-8714:
-------------------------------------
Sorry, I mistyped dimension when I meant shape above (fixed now). I was trying
to think of a way to use a single extension type for constant _and_ variable
shapes, with a fixed dimension. Although there is a problem with my suggestion
in that the arrays won't be able to be sliced without recomputing the shapes,
and I don't see a way around that. So I guess it seems better to stay with 2
different extension types, this one for variable shapes and ARROW-1614 for
constant shapes.
> [C++] Add a Tensor logical value type with varying dimensions, implemented
> using ExtensionType
> ----------------------------------------------------------------------------------------------
>
> Key: ARROW-8714
> URL: https://issues.apache.org/jira/browse/ARROW-8714
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++, Format
> Reporter: Christian Hudon
> Priority: Major
>
> Support for tensor in Table, RecordBatch, etc. where each row is a tensor of
> a different shape (e.g images of different sizes), but of the same underlying
> type (e.g. int32). Implemented as an ExtensionType, so no need to change the
> format.
> I don't see needing each row being a tensor with a different number of
> dimensions, so if the implementation for that falls out easily of the use
> case with each row in the table having a tensor with the same number of
> dimensions, great. If it adds a lot of complexity, that case would be
> postponed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)