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
"Incompatible join types: %s (%s) and %s (%s). Factor columns must join to factor or character columns.", # Exact match for tests like 2044.24
89
-
xname, x_merge_type,
90
-
iname, i_merge_type
91
-
)
92
-
condition<- structure(
87
+
condition_message= gettextf("Incompatible join types: %s (%s) and %s (%s). Factor columns must join to factor or character columns.", xname, x_merge_type, iname, i_merge_type)
stopf("Incompatible join types: x.%s (%s) and i.%s (%s). Factor columns must join to factor or character columns.", x_part_col_name, x_part_type, y_part_col_name, y_part_type, class="dt_merge_incompatible_type_error")
# Test for incompatible factor joins rephrased by merge.data.table(#7048)
21162
+
DT1=data.table(a=factor('a'))
21163
+
DT2=data.table(a=1L)
21164
+
test(2318, merge(DT1, DT2, by = "a"), error = "Incompatible join types: x.a (factor) and i.a (integer). Factor columns must join to factor or character columns.")
0 commit comments