Skip to content
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

do_join/anti_join ignore na_action #40606

Closed
r2evans opened this issue Mar 17, 2024 · 1 comment
Closed

do_join/anti_join ignore na_action #40606

r2evans opened this issue Mar 17, 2024 · 1 comment

Comments

@r2evans
Copy link

r2evans commented Mar 17, 2024

Describe the bug, including details regarding any error messages, version, and platform.

library(dplyr)
library(arrow)

dat1 <- data.frame(a=1:5, b=c(11:14, NA))
dat2 <- dat1[-3,]
dat1arr <- arrow_table(dat1)
dat2arr <- arrow_table(dat2)

anti_join(dat1, dat2, by = names(dat1), na_matches = "na")
#   a  b
# 1 3 13
anti_join(dat1arr, dat2arr, by = names(dat1), na_matches = "na") |>
  collect()
# # A tibble: 2 × 2
#       a     b
#   <int> <int>
# 1     3    13
# 2     5    NA

I see https://github.com/apache/arrow/blob/main/r/R/dplyr-join.R#L31 from commit c273ea7 in Sep 2021, is there a timeline for implementation?

Component(s)

R

@r2evans
Copy link
Author

r2evans commented Mar 17, 2024

dupe of #37902

@r2evans r2evans closed this as completed Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant