[ 
https://issues.apache.org/jira/browse/ARROW-1774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16854672#comment-16854672
 ] 

Antoine Pitrou commented on ARROW-1774:
---------------------------------------

What is meant here by "same physical memory layout"? For example, should we 
allow a view of int32 as float32? If so, it's not the same thing as casting.

> [C++] Add "view" function to create zero-copy views for compatible types, if 
> supported
> --------------------------------------------------------------------------------------
>
>                 Key: ARROW-1774
>                 URL: https://issues.apache.org/jira/browse/ARROW-1774
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Wes McKinney
>            Priority: Major
>             Fix For: 0.14.0
>
>
> Similar to NumPy's {{ndarray.view}}, but with the restriction that the input 
> and output types have the same physical Arrow memory layout. This might be as 
> simple as adding a "zero copy only" option to the existing {{Cast}} kernel



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to