Skip to content

Commit 637ff58

Browse files
committed
add non right join testcase
1 parent 6143ef7 commit 637ff58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

inst/tests/tests.Rraw

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20623,3 +20623,7 @@ x = data.table(a=1)
2062320623
y = data.table(c=1.5, d=1L)
2062420624
test(2297.21, y[x, on=.(c == a, d == a)], data.table(c=1, d=1))
2062520625
test(2297.22, y[x, on=.(d == a, c == a)], data.table(c=1, d=1))
20626+
# non right join
20627+
x = data.table(a=1, b=2L)
20628+
y = data.table(c=1.5, d=1L)
20629+
test(2297.31, y[x, on=.(c == a, d == a), nomatch=NULL], output="Empty data.table (0 rows and 3 cols): c,d,b")

0 commit comments

Comments
 (0)