You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/01/18 13:28:00 UTC
[jira] [Updated] (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 ]
ASF GitHub Bot updated ARROW-14609:
-----------------------------------
Labels: pull-request-available (was: )
> [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
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)