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

Wes McKinney commented on ARROW-8348:
-------------------------------------

I'm not sure about this. It might be useful to set a field in 
{{Field::metadata}} to indicate that null values contain a sentinel value that 
came from R, so when you convert back you can {{memcpy}} the data over without 
having to set the sentinels manually

> [C++] Support optional sentinel values in primitive Array for nulls
> -------------------------------------------------------------------
>
>                 Key: ARROW-8348
>                 URL: https://issues.apache.org/jira/browse/ARROW-8348
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Francois Saint-Jacques
>            Priority: Major
>
> This is an optional feature where a sentinel value is stored in null cells 
> and is exposed via an accessor method, e.g. `optional<T> 
> Array<T>::HasSentinel() const;`. This would allow zero-copy bi-directional 
> conversion with R.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to