dragosmg opened a new pull request #12179:
URL: https://github.com/apache/arrow/pull/12179
This PR makes {arrow} join error messages triggered by wrong column
specification in `by` closer to the {dplyr} ones
```
# dplyr error message
> 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.
# current {arrow} error message
> 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
# error message after this PR
> left_join(arrow_table(iris), arrow_table(iris), by = "made_up_colname")
Error: Join column must be present in data.
x `made_up_colname` not present in x.
Run `rlang::last_error()` to see where the error occurred.
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]