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

David Li commented on ARROW-14068:
----------------------------------

Oh, interesting. We could dictionary-decode in C++ but ideally we should 
operate on the dictionary itself if possible.

> [R] Better handling of calling string functions on dictionaries
> ---------------------------------------------------------------
>
>                 Key: ARROW-14068
>                 URL: https://issues.apache.org/jira/browse/ARROW-14068
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Nicola Crane
>            Priority: Major
>
> When working with R tables that have factor columns and then have been 
> converted into Arrow Tables, it's not pretty when we try to call string 
> functions on those columns (which are now dictionaries)
> {code:java}
> Table$create(iris) %>%
>   mutate(x = str_to_lower(Species))
> ## Error: NotImplemented: Function utf8_lower has no kernel matching input 
> types (array[dictionary<values=string, indices=int8, ordered=0>])
> {code}



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

Reply via email to