-
Notifications
You must be signed in to change notification settings - Fork 979
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
[R-Forge #5659] key is not retained after join on factor columns #477
Comments
It's not just on factor columns. It's basically due to recent changes in if (haskey(x)) {
keylen = which.first(!key(x) %chin% ansvars)-1L
if (is.na(keylen)) keylen = length(key(x))
if (keylen > length(rightcols) && !.Call(CisOrderedSubset, irows, nrow(x))) keylen = length(rightcols)
if (keylen && ((is.data.table(i) && haskey(i)) || is.logical(i) || .Call(CisOrderedSubset, irows, nrow(x))))
setattr(ans,"sorted",head(key(x),keylen))
} Here And IIUC, this is how it was before. |
Thanks for the migration from R-Forge! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Submitted by: Gerhard Nachtmann; Assigned to: Nobody; R-Forge link
Description here.
The text was updated successfully, but these errors were encountered: