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

Dewey Dunnington commented on ARROW-13165:
------------------------------------------

Adding a few notes here that were discussed on the [GitHub PR for 
ARROW-13371|https://github.com/apache/arrow/pull/11690]:

- There currently is no {{StructArray$create()}}, but this might be a good 
place to allow creating a struct with the additional options noted here. Note 
that there isn't a static `$create()` for other array types...you can create a 
`StructArray` using `Array$create()` (just like you can for the other array 
types).
- After ARROW-13371, you can access {{make_struct}} by creating a nested data 
frame in {{dplyr::mutate()}}, but this doesn't pass through additional options 
(existing or otherwise).

> [R] Add bindings for ProjectOptions
> -----------------------------------
>
>                 Key: ARROW-13165
>                 URL: https://issues.apache.org/jira/browse/ARROW-13165
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Ian Cook
>            Assignee: Dragoș Moldovan-Grünfeld
>            Priority: Major
>
> The {{project}} kernel creates a column of struct (equivalent to a column of 
> named lists in R). Add to {{make_compute_options}} in {{compute.cpp}} so we 
> can pass {{ProjectOptions}} to the {{project}} kernel.
> One practical application of the {{project}} kernel is to create a binding 
> for the stringr function {{str_locate}} which returns a column of named lists.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to