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
According to the title of #1130Implement joins using secondary keys, I assume unkeyed join using on already uses indexes so it don't have to resort data to join.
But it seems to not use existing index.
library(data.table)
options(datatable.verbose=TRUE)
options(datatable.auto.index=TRUE)
dt1= data.table(a=letters[c(3L,1L,2L)])
dt2= data.table(a=letters[c(2L,1L,3L)])
set2keyv(dt1, "a")
# forder took 0 sec
set2keyv(dt2, "a")
# forder took 0 secdt1[dt2, on= c("a"="a")]
# Starting bmerge ...done in 0 secs# a#1: b#2: a#3: c
If it does use index please turn that FR to extend verbose=TRUE to mention that.
The text was updated successfully, but these errors were encountered:
According to the title of #1130 Implement joins using secondary keys, I assume unkeyed join using
on
already uses indexes so it don't have to resort data to join.But it seems to not use existing index.
If it does use index please turn that FR to extend
verbose=TRUE
to mention that.The text was updated successfully, but these errors were encountered: