-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
breaking-changeissues whose solution would require breaking existing behaviorissues whose solution would require breaking existing behavior
Description
The unique
-parameter of CJ
was initially set to FALSE
when introduced. The relevant item in the newsfile when 1.9.6 was released said:
CJ
gains logicalunique
argument with defaultFALSE
. IfTRUE
, unique values of vectors are automatically computed and used. This is convenient, for example,DT[CJ(a, b, c, unique=TRUE)]
instead of doingDT[CJ(unique(a), unique(b), unique(c))]
. Ultimately,unique = TRUE
will be default. Closes #1148.
As CJ
is probably mostly used used with unique = TRUE
(see also the original issue), maybe the time has come to set this parameter to unique = TRUE
?
arunsrinivasan, raneameya and UweBlockHughParsonage
Metadata
Metadata
Assignees
Labels
breaking-changeissues whose solution would require breaking existing behaviorissues whose solution would require breaking existing behavior