diff --git a/DESCRIPTION b/DESCRIPTION index 74f1bb56..26c8b168 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: DatabaseConnector Type: Package Title: Connecting to Various Database Platforms Version: 6.2.3 -Date: 2023-06-23 +Date: 2023-06-28 Authors@R: c( person("Martijn", "Schuemie", email = "schuemie@ohdsi.org", role = c("aut", "cre")), person("Marc", "Suchard", role = c("aut")), diff --git a/cran-comments.md b/cran-comments.md index 2a5c1982..7194493b 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,12 +1,12 @@ -This update includes 4 changes and 1 bugfix (see NEWS.md). +This update includes 1 changes and 2 bugfixes (see NEWS.md). --- ## Test environments -* Ubuntu 20.04, R 4.3.0 +* Ubuntu 20.04, R 4.3.1 * Microsoft Windows Server 2016, R 4.2.3 -* MacOS, 4.3.0 -* Windows 10, R 4.3.0 +* MacOS, 4.3.1 +* Windows 10, R 4.3.1 ## R CMD check results diff --git a/docs/404.html b/docs/404.html index 109ab42d..8835475a 100644 --- a/docs/404.html +++ b/docs/404.html @@ -32,7 +32,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/articles/Connecting.html b/docs/articles/Connecting.html index 24e4b481..74fd9642 100644 --- a/docs/articles/Connecting.html +++ b/docs/articles/Connecting.html @@ -33,7 +33,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 @@ -88,9 +88,10 @@

Changes:

@@ -92,7 +102,8 @@

Changes:

@@ -133,11 +145,13 @@

Changes:

-
  1. Ensuring Andromeda works with different backends (e.g. arrow).

Bugfixes:

+
  1. Ensuring Andromeda works with different backends (e.g. arrow).
  2. +

Bugfixes:

  1. Fixing ‘DBMS not supported’ error when connecting to Hive.

  2. Fixing error when bulk uploading to Postgress with NULL values.

  3. Fixing warning when automatically converting Integer64 to numeric in R 4.2.0.

  4. @@ -153,12 +167,15 @@

Bugfixes:

-
  1. Fixing getTableNames() when the database or schema name contains escaped characters.
+
  1. Fixing getTableNames() when the database or schema name contains escaped characters.
  2. +

Changes:

-
  1. Added dropEmulatedTempTables() function.

Bugfixes:

-
  1. Fixed R-Studio connection panel for BigQuery.
+
  1. Added dropEmulatedTempTables() function.
  2. +

Bugfixes:

+
  1. Fixed R-Studio connection panel for BigQuery.
  2. +

Changes:

@@ -177,7 +194,8 @@

Changes:

@@ -227,24 +245,30 @@

Changes:

-
  1. BigQuery insertTable now also uses CTAS hack for improved speed and avoiding insert size limitations.

Bugfixes:

+
  1. BigQuery insertTable now also uses CTAS hack for improved speed and avoiding insert size limitations.
  2. +

Bugfixes:

  1. Preventing scientific notation when bulk uploading to PDW to avoid error.

  2. Fixing null error when calling getSchemaNames for BigQuery.

Changes:

-
  1. Adding ability to set the path where the DLL is located for Windows Integrated Authentication for SQL Server and PDW.

Bugfixes:

-
  1. No longer dropping ‘#’ prefix for temp table names when inserting data for RedShift.
+
  1. Adding ability to set the path where the DLL is located for Windows Integrated Authentication for SQL Server and PDW.
  2. +

Bugfixes:

+
  1. No longer dropping ‘#’ prefix for temp table names when inserting data for RedShift.
  2. +

Changes:

-
  1. Adding runAsBatch argument to executeSql and renderTranslateExecuteSql functions to allow running as a batch (often faster).

Bugfixes:

+
  1. Adding runAsBatch argument to executeSql and renderTranslateExecuteSql functions to allow running as a batch (often faster).
  2. +

Bugfixes:

  1. Not adding ‘#’ prefix when performing insert into RedShift.

  2. Disabling autocommit when sending updates to RedShift to prevent errors with new JDBC driver.

  3. Preventing ‘FeatureNotSupportedError’ from terminating query on platforms that do no support autocommit.

  4. @@ -259,11 +283,13 @@

Bugfixes:

-
  1. Executing multi-statement SQL where one statement returns results no longer causes error.
+
  1. Executing multi-statement SQL where one statement returns results no longer causes error.
  2. +

Changes:

-
  1. Now supporting proper insertion and extraction of DATETIME fields

Bugfixes:

+
  1. Now supporting proper insertion and extraction of DATETIME fields
  2. +

Bugfixes:

  1. Closing output stream when writing to zip file to avoid orphan file locks
  2. Fixed the problem that Jar file is not detected when setting JDBC driver manually
@@ -276,14 +302,16 @@

Examples

executeSql(connection, "CREATE TABLE test (x INT);") #> | | | 0% | |======================================================================| 100% -#> Executing SQL took 0.138 secs +#> Executing SQL took 0.0216 secs querySql(connection, "SELECT * FROM test;") #> [1] X #> <0 rows> (or 0-length row.names) extractQueryTimes(logFile) #> query startTime milliseconds thread -#> 1 CREATE TABLE test (x INT) 2023-06-22 17:00:54 0 Main thread -#> 2 SELECT * FROM test 2023-06-22 17:00:54 2 Main thread +#> 1 CREATE TABLE test (x INT) 2023-06-28 17:03:18 1 Main thread +#> 2 SELECT * FROM test 2023-06-28 17:03:18 2 Main thread ParallelLogger::unregisterLogger("MY_LOGGER") #> [1] TRUE diff --git a/docs/reference/getAvailableJavaHeapSpace.html b/docs/reference/getAvailableJavaHeapSpace.html index 48fc95ac..c5fe58c4 100644 --- a/docs/reference/getAvailableJavaHeapSpace.html +++ b/docs/reference/getAvailableJavaHeapSpace.html @@ -17,7 +17,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/getTableNames.html b/docs/reference/getTableNames.html index a236bf21..f232fbb8 100644 --- a/docs/reference/getTableNames.html +++ b/docs/reference/getTableNames.html @@ -17,7 +17,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/inDatabaseSchema.html b/docs/reference/inDatabaseSchema.html index 616f9d11..40eee2c3 100644 --- a/docs/reference/inDatabaseSchema.html +++ b/docs/reference/inDatabaseSchema.html @@ -17,7 +17,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/index.html b/docs/reference/index.html index 3c087584..80952d1b 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -17,7 +17,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/insertTable.html b/docs/reference/insertTable.html index d8a0a4cf..766dcd80 100644 --- a/docs/reference/insertTable.html +++ b/docs/reference/insertTable.html @@ -18,7 +18,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/isSqlReservedWord.html b/docs/reference/isSqlReservedWord.html index f6e19aa8..e14c31af 100644 --- a/docs/reference/isSqlReservedWord.html +++ b/docs/reference/isSqlReservedWord.html @@ -17,7 +17,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/jdbcDrivers.html b/docs/reference/jdbcDrivers.html index 95762e74..5ec0c6c9 100644 --- a/docs/reference/jdbcDrivers.html +++ b/docs/reference/jdbcDrivers.html @@ -20,7 +20,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/lowLevelExecuteSql.html b/docs/reference/lowLevelExecuteSql.html index f9aae25b..fcb61669 100644 --- a/docs/reference/lowLevelExecuteSql.html +++ b/docs/reference/lowLevelExecuteSql.html @@ -17,7 +17,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/lowLevelQuerySql.html b/docs/reference/lowLevelQuerySql.html index c2b22c3e..536774ea 100644 --- a/docs/reference/lowLevelQuerySql.html +++ b/docs/reference/lowLevelQuerySql.html @@ -18,7 +18,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/lowLevelQuerySqlToAndromeda.html b/docs/reference/lowLevelQuerySqlToAndromeda.html index a4317528..266cccbd 100644 --- a/docs/reference/lowLevelQuerySqlToAndromeda.html +++ b/docs/reference/lowLevelQuerySqlToAndromeda.html @@ -18,7 +18,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/month.html b/docs/reference/month.html index 23edc74a..b76ae32d 100644 --- a/docs/reference/month.html +++ b/docs/reference/month.html @@ -18,7 +18,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/querySql.html b/docs/reference/querySql.html index 9addfa91..c4676e38 100644 --- a/docs/reference/querySql.html +++ b/docs/reference/querySql.html @@ -17,7 +17,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/querySqlToAndromeda.html b/docs/reference/querySqlToAndromeda.html index 1a6161c0..a35fb2e9 100644 --- a/docs/reference/querySqlToAndromeda.html +++ b/docs/reference/querySqlToAndromeda.html @@ -17,7 +17,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/renderTranslateExecuteSql.html b/docs/reference/renderTranslateExecuteSql.html index 3c774d5b..7abbc747 100644 --- a/docs/reference/renderTranslateExecuteSql.html +++ b/docs/reference/renderTranslateExecuteSql.html @@ -17,7 +17,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/renderTranslateQueryApplyBatched.html b/docs/reference/renderTranslateQueryApplyBatched.html index 77e8662f..ccf197c5 100644 --- a/docs/reference/renderTranslateQueryApplyBatched.html +++ b/docs/reference/renderTranslateQueryApplyBatched.html @@ -20,7 +20,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/renderTranslateQuerySql.html b/docs/reference/renderTranslateQuerySql.html index d9ff0e16..8cfe1d05 100644 --- a/docs/reference/renderTranslateQuerySql.html +++ b/docs/reference/renderTranslateQuerySql.html @@ -17,7 +17,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/renderTranslateQuerySqlToAndromeda.html b/docs/reference/renderTranslateQuerySqlToAndromeda.html index e6cd6ace..a03f5360 100644 --- a/docs/reference/renderTranslateQuerySqlToAndromeda.html +++ b/docs/reference/renderTranslateQuerySqlToAndromeda.html @@ -18,7 +18,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/requiresTempEmulation.html b/docs/reference/requiresTempEmulation.html index cd0abc2e..dea2e444 100644 --- a/docs/reference/requiresTempEmulation.html +++ b/docs/reference/requiresTempEmulation.html @@ -17,7 +17,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/show-DatabaseConnectorDriver-method.html b/docs/reference/show-DatabaseConnectorDriver-method.html index 7bfcb4db..662b48a7 100644 --- a/docs/reference/show-DatabaseConnectorDriver-method.html +++ b/docs/reference/show-DatabaseConnectorDriver-method.html @@ -21,7 +21,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/docs/reference/year.html b/docs/reference/year.html index 7233d5be..b7f939e3 100644 --- a/docs/reference/year.html +++ b/docs/reference/year.html @@ -18,7 +18,7 @@ DatabaseConnector - 6.2.2 + 6.2.3 diff --git a/extras/DatabaseConnector.pdf b/extras/DatabaseConnector.pdf index 72c31b06..d3d42a7c 100644 Binary files a/extras/DatabaseConnector.pdf and b/extras/DatabaseConnector.pdf differ diff --git a/inst/doc/Connecting.pdf b/inst/doc/Connecting.pdf index 0295ab66..b547ac47 100644 Binary files a/inst/doc/Connecting.pdf and b/inst/doc/Connecting.pdf differ diff --git a/inst/doc/DbiAndDbplyr.pdf b/inst/doc/DbiAndDbplyr.pdf index 1b2291b7..95fb8b14 100644 Binary files a/inst/doc/DbiAndDbplyr.pdf and b/inst/doc/DbiAndDbplyr.pdf differ diff --git a/inst/doc/Querying.pdf b/inst/doc/Querying.pdf index 565fb95b..3be6a07c 100644 Binary files a/inst/doc/Querying.pdf and b/inst/doc/Querying.pdf differ diff --git a/man/DatabaseConnectorConnection-class.Rd b/man/DatabaseConnectorConnection-class.Rd index b596add6..28876634 100644 --- a/man/DatabaseConnectorConnection-class.Rd +++ b/man/DatabaseConnectorConnection-class.Rd @@ -139,7 +139,6 @@ connection. This should include views and temporary objects, but not all database backends (in particular \pkg{RMariaDB} and \pkg{RMySQL}) support this. -\Sexpr[results=rd,stage=render]{DBI:::methods_as_rd("dbListTables")} } \details{ The \code{databaseSchema} argument is interpreted differently according to the different platforms: diff --git a/man/dbGetInfo-DatabaseConnectorDriver-method.Rd b/man/dbGetInfo-DatabaseConnectorDriver-method.Rd index 97c77c64..9f29460a 100644 --- a/man/dbGetInfo-DatabaseConnectorDriver-method.Rd +++ b/man/dbGetInfo-DatabaseConnectorDriver-method.Rd @@ -54,7 +54,6 @@ as returned by \code{\link[DBI:dbHasCompleted]{dbHasCompleted()}}. Retrieves information on objects of class \linkS4class{DBIDriver}, \linkS4class{DBIConnection} or \linkS4class{DBIResult}. -\Sexpr[results=rd,stage=render]{DBI:::methods_as_rd("dbGetInfo")} } \seealso{ Other DBIDriver generics: