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
if (x_merge_type=="integer64"||i_merge_type=="integer64") {
104
104
nm= c(iname, xname)
105
105
if (x_merge_type=="integer64") { w=i; wc=icol; wclass=i_merge_type; } else { w=x; wc=xcol; wclass=x_merge_type; nm=rev(nm) } # w is which to coerce
106
-
if (wclass=="integer"|| (wclass=="double"&&!isRealReallyInt64(w[[wc]]))) {
106
+
if (wclass=="integer"|| (wclass=="double"&& isRealReallyInt64(w[[wc]]))) {
107
107
if (verbose) catf("Coercing %s column %s%s to type integer64 to match type of %s.\n", wclass, nm[1L], if (wclass=="double") " (which has integer64 representation, e.g. no fractions)"else"", nm[2L])
108
108
set(w, j=wc, value=bit64::as.integer64(w[[wc]]))
109
109
} else stopf("Incompatible join types: %s is type integer64 but %s is type double and cannot be coerced to integer64 (e.g. has fractions)", nm[2L], nm[1L])
0 commit comments