You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Nic Crane (Jira)" <ji...@apache.org> on 2021/05/13 16:43:00 UTC

[jira] [Updated] (ARROW-12777) [R] Convert all inputs to Arrow objects in match_arrow and is_in

     [ https://issues.apache.org/jira/browse/ARROW-12777?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nic Crane updated ARROW-12777:
------------------------------
    Summary: [R] Convert all inputs to Arrow objects in match_arrow and is_in  (was: [R] Add input type checking for match_arrow (and is_in))

> [R] Convert all inputs to Arrow objects in match_arrow and is_in
> ----------------------------------------------------------------
>
>                 Key: ARROW-12777
>                 URL: https://issues.apache.org/jira/browse/ARROW-12777
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Nic Crane
>            Priority: Major
>
> If I run:
>  
> {code:java}
> tab <- Table$create(name = rownames(mtcars), mtcars)
> match_arrow(Array$create("Valiant"), tab)
> {code}
>  
> I get `Error: Unrecognized vector instance for type ENVSXP`
> and if I run:
> {code:java}
> match_arrow(c("Valiant"), tab){code}
> I get `Error in match(x, table, ...) : 'match' requires vector arguments `
> This is because in both cases, input parameters are not of the expected type.  We should add type checking and user-friendly error messages that indicate this.



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