Skip to content

Commit

Permalink
Merge pull request #507 from SebKrantz/development
Browse files Browse the repository at this point in the history
Fix bug in full join reduced to left join.
  • Loading branch information
SebKrantz committed Dec 7, 2023
2 parents e82a9a7 + 22e25c1 commit 990a6fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/join.R
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ join <- function(x, y,
}
} else { # If all elements of table are matched, this is simply a left join
how <- "left"
y_res <- .Call(C_subsetDT, y, m, iyon, if(count) attr(m, "N.nomatch") else TRUE) # anyNA(um) ??
y_res <- .Call(C_subsetDT, y, m, seq_along(y)[-iyon], if(count) attr(m, "N.nomatch") else TRUE) # anyNA(um) ??
c(x, y_res)
}
},
Expand Down

0 comments on commit 990a6fa

Please sign in to comment.