Skip to content

not-join and mult="first" produces unexpected output #1571

@jangorecki

Description

@jangorecki
library(data.table)
x = data.table(c(1,2,2,2,3,4,4))
y = data.table(c(2,3,4,4,4,5))
x[!y, on=names(x), mult="first"]
#   V1
#1:  1
#2:  2
#3:  2
#4:  4

## expected
#   V1
#1:  1

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions