You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Integer64 columns not assigned NA when doing a left merge #1459
The same happens when rbindlist(fill=TRUE). This probably can be fixed in the same place as merge so I'm not creating new issue for that, let me know if you want separate one for rbindlist fill.
On Tue, Oct 3, 2017 at 5:47 AM, andrewkho ***@***.***> wrote:
I'm not sure if I should create a new issue for this, but I am having this
problem when using the := operator, but not when using merge.
> packageVersion("data.table")
[1] ‘1.10.4’
> packageVersion("bit64")
[1] ‘0.9.7’
> dt1 <- data.table(id=c(1,2), x=bit64::as.integer64(100,200))
> dt2 <- data.table(id=c(1,3))
> dt1
id x
1: 1 100
2: 2 100
> dt2
id
1: 1
2: 3
> merge(dt1,dt2, all=T)
id x
1: 1 100
2: 2 100
3: 3 NA
> dt2[J(dt1), x := i.x, on=.(id)]
> dt2
id x
1: 1 100
2: 3 9218868437227407266
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1459 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHQQdRNN5xLwJ4C3TIc-jV5zJrfXo4RQks5soVoEgaJpZM4Gul8T>
.
Activity
dlithio commentedon Dec 4, 2015
I think this is a duplicate.
arunsrinivasan commentedon Dec 4, 2015
Thanks for linking to the old issue @dlithio. Maybe we can fix it internally..
jangorecki commentedon Apr 23, 2016
The same happens when
rbindlist(fill=TRUE). This probably can be fixed in the same place asmergeso I'm not creating new issue for that, let me know if you want separate one for rbindlist fill.Closes #1385, partly #1459. Joins handle no match for int64 columns c…
andrewkho commentedon Oct 2, 2017
I'm not sure if I should create a new issue for this, but I am having this problem when using the := operator, but not when using merge.
Update: I guess this is the expected behaviour:
I have a lot of code using the := method, and I'm not sure if it's feasible to switch everything to use merge instead
MichaelChirico commentedon Oct 3, 2017
Closes #3723 and #1459 -- use proper NA for integer64 on assign