diff --git a/NEWS.md b/NEWS.md index 0004c6c6..3a69229c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,11 @@ +DatabaseConnector 6.4.1 +======================= + +Bugfixes: + +- Remove direct call to `bit64` S3 method to avoid issues in the future. + + DatabaseConnector 6.4.0 ======================= diff --git a/R/Sql.R b/R/Sql.R index 54c19c70..24f6d420 100644 --- a/R/Sql.R +++ b/R/Sql.R @@ -81,7 +81,7 @@ convertInteger64ToNumeric <- function(x) { if (any(x >= maxInt64 | x <= -maxInt64, na.rm = TRUE)) { abort("The data contains integers >= 2^53, and converting those to R's numeric type leads to precision loss. Consider using smaller integers, converting the integers to doubles on the database side, or using `options(databaseConnectorInteger64AsNumeric = FALSE)`.") } - return(bit64::as.double.integer64(x)) + return(as.double(x)) } parseJdbcColumnData <- function(batchedQuery,