New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support relationship
parameter in join verbs
#1305
Comments
I'm afraid it doesn't make sense to accept the my_inner_join <- function(x,
y,
by = NULL,
copy = FALSE,
suffix = NULL,
...,
keep = NULL,
na_matches = c("never", "na"),
multiple = NULL,
unmatched = "drop",
relationship = NULL,
sql_on = NULL,
auto_index = FALSE,
x_as = NULL,
y_as = NULL) {
inner_join(
x,
y,
by = by,
copy = copy,
suffix = suffix,
keep = keep,
na_matches = na_matches,
multiple = multiple,
unmatched = unmatched,
sql_on = sql_on,
auto_index = auto_index,
x_as = x_as,
y_as = y_as
)
} |
bairdj
pushed a commit
to bairdj/dbplyr
that referenced
this issue
Jun 15, 2023
mgirlich
added a commit
that referenced
this issue
Jun 15, 2023
* Support relationship in joins * Use `check_unsupported_arg()` * Update news for #1305 * Update NEWS.md Co-authored-by: Maximilian Girlich <maximilian.girlich@metoda.com> --------- Co-authored-by: Maximilian Girlich <maximilian.girlich@metoda.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dplyr added a
relationship
parameter to join verbs in v1.1.1, which throws an error if provided to dbplyr.The issue I am experiencing is for some unit tests that run across both local and lazy tables. dplyr throws a warning if there is a many-to-many relationship, which can be silenced by providing the
relationship
parameter, but this then causes the lazy table tests to fail.I don't think dbplyr necessarily needs to support the check (would probably have to be an extra query to check if it is violated), but it would be good if it would accept the parameter.
Created on 2023-06-15 with reprex v2.0.2
Session info
The text was updated successfully, but these errors were encountered: