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
test(2296, d2[x %no such operator% 1], error = '%no such operator%')
20601
20601
20602
20602
# coerce Dates to double if join on multiple columns, #6602
20603
-
d_int = .Date(1L)
20604
-
d_dbl = .Date(1)
20605
20603
x = data.table(a=1L)
20606
20604
y = data.table(c=1L, d=1)
20607
20605
test(2297.01, options=c(datatable.verbose=TRUE), y[x, on=.(c == a, d == a)], data.table(c=1L, d=1L), output="Coercing .*c to type double")
20608
20606
test(2297.02, options=c(datatable.verbose=TRUE), y[x, on=.(d == a, c == a)], data.table(c=1L, d=1L), output="Coercing .*c to type double")
20609
-
x = data.table(a=d_int)
20610
-
y = data.table(c=d_int, d=d_dbl)
20611
-
test(2297.03, options=c(datatable.verbose=TRUE), y[x, on=.(c == a, d == a)], data.table(c=d_int, d=d_int), output="Coercing .*c to type double")
20612
-
test(2297.04, options=c(datatable.verbose=TRUE), y[x, on=.(d == a, c == a)], data.table(c=d_int, d=d_int), output="Coercing .*c to type double")
20613
20607
x = data.table(a=1)
20614
20608
y = data.table(c=1, d=1L)
20615
-
test(2297.11, options=c(datatable.verbose=TRUE), y[x, on=.(c == a, d == a)], data.table(c=1L, d=1L), output="Coercing double column x.c (which contains no fractions) to type integer")
20616
-
test(2297.12, options=c(datatable.verbose=TRUE), y[x, on=.(d == a, c == a)], data.table(c=1L, d=1L), output="Coercing double column x.c (which contains no fractions) to type integer")
20609
+
test(2297.03, options=c(datatable.verbose=TRUE), y[x, on=.(c == a, d == a)], data.table(c=1L, d=1L), output="Coercing double column x.c (which contains no fractions) to type integer")
20610
+
test(2297.04, options=c(datatable.verbose=TRUE), y[x, on=.(d == a, c == a)], data.table(c=1L, d=1L), output="Coercing double column x.c (which contains no fractions) to type integer")
20611
+
# dates
20612
+
d_int = .Date(1L)
20613
+
d_dbl = .Date(1)
20614
+
x = data.table(a=d_int)
20615
+
y = data.table(c=d_int, d=d_dbl)
20616
+
test(2297.11, y[x, on=.(c == a, d == a)], data.table(c=d_int, d=d_int))
20617
+
test(2297.12, y[x, on=.(d == a, c == a)], data.table(c=d_int, d=d_int))
20617
20618
x = data.table(a=d_dbl)
20618
20619
y = data.table(c=d_dbl, d=d_int)
20619
-
test(2297.13, options=c(datatable.verbose=TRUE), y[x, on=.(c == a, d == a)], data.table(c=d_int, d=d_int), output="Coercing double column x.c (which contains no fractions) to type integer")
20620
-
test(2297.14, options=c(datatable.verbose=TRUE), y[x, on=.(d == a, c == a)], data.table(c=d_int, d=d_int), output="Coercing double column x.c (which contains no fractions) to type integer")
20620
+
test(2297.13, y[x, on=.(c == a, d == a)], data.table(c=d_int, d=d_int))
20621
+
test(2297.14, y[x, on=.(d == a, c == a)], data.table(c=d_int, d=d_int))
20622
+
# real double
20623
+
x = data.table(a=1)
20624
+
y = data.table(c=1.5, d=1L)
20625
+
test(2297.21, y[x, on=.(c == a, d == a)], data.table(c=1, d=1))
20626
+
test(2297.22, y[x, on=.(d == a, c == a)], data.table(c=1, d=1))
0 commit comments