Skip to content

Commit 0794d6e

Browse files
committed
Remove direct call to bit64 S3 method to avoid issues in the future. Fixes #303
1 parent f0d4790 commit 0794d6e

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

NEWS.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
DatabaseConnector 6.4.1
2+
=======================
3+
4+
Bugfixes:
5+
6+
- Remove direct call to `bit64` S3 method to avoid issues in the future.
7+
8+
19
DatabaseConnector 6.4.0
210
=======================
311

R/Sql.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ convertInteger64ToNumeric <- function(x) {
8181
if (any(x >= maxInt64 | x <= -maxInt64, na.rm = TRUE)) {
8282
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)`.")
8383
}
84-
return(bit64::as.double.integer64(x))
84+
return(as.double(x))
8585
}
8686

8787
parseJdbcColumnData <- function(batchedQuery,

0 commit comments

Comments
 (0)