You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jonathan Keane (Jira)" <ji...@apache.org> on 2022/01/11 17:19:00 UTC

[jira] [Assigned] (ARROW-14609) [R] left_join by argument error message mismatch

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

Jonathan Keane reassigned ARROW-14609:
--------------------------------------

    Assignee: Dragoș Moldovan-Grünfeld

> [R] left_join by argument error message mismatch
> ------------------------------------------------
>
>                 Key: ARROW-14609
>                 URL: https://issues.apache.org/jira/browse/ARROW-14609
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: R
>            Reporter: Nicola Crane
>            Assignee: Dragoș Moldovan-Grünfeld
>            Priority: Minor
>
> We should use the dplyr error message which is clear when the "by" argument to joins is not correctly specified.
> {code:r}
> > left_join(iris, iris, by  = "made_up_colname")
> Error: Join columns must be present in data.
> x Problem with `made_up_colname`.
> Run `rlang::last_error()` to see where the error occurred.
> > left_join(arrow_table(iris), arrow_table(iris), by = "made_up_colname")
> Error in handle_join_by(by, x, y) : 
>   all(names(by) %in% names(x)) is not TRUE
> {code}



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