[
https://issues.apache.org/jira/browse/ARROW-14609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Keane resolved ARROW-14609.
------------------------------------
Fix Version/s: 7.0.0
Resolution: Fixed
Issue resolved by pull request 12179
[https://github.com/apache/arrow/pull/12179]
> [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
> Fix For: 7.0.0
>
> Time Spent: 3h 20m
> 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)