Bug Fixes:
Bug Fixes:
dbGetQuery call in pooled connection handler, requiring support for DatabaseConnector 7Changes:
Added experimental wrapper functions for python based upload of csv files
Breaking change - public use of finalize from R6 classes causes deprecation warning in use of R6 package.
Package maintainers should replace this with class to closeConnection which is in use or has been added to all classes.
Note - due to CRAN this package cannot release without making this change.
Bug Fixes:
Changes:
Changes:
Bug fixes:
Resolved issue where failed queries were being aborted inside the wrong connection in PooledConnectionHandler
Refactored pooled connection handler to better ensure checkout connections are returned
Changes:
Changes:
Changes made to make package CRAN compliant
PooledConnectionHandler now uses withr::defer to automatically returned pooled connections returned with
getConnection
Bug fixes:
Bug fixes:
Changes:
Bug Fixes:
Removal of comment in DataMigrationManager sql that caused translation error for spark/databricks platforms
The "optional" column in the model specification is now fully optional (when not present, all columns are assumed to be required)
Changes:
Changes:
Bug Fixes:
Use of RPostgres updated.
Use of dbplyr::in_schema for using dplyr::tbl in ConnectionHandlers
Changes:
PooledConnectionHandler classes to use DBI connections to bypass use of JDBC on systems where it may not be
supported.Bug Fixes:
loadRenderTranslateSqlBug fixes:
emptyIsNa property which is no longer used/requiredChanges:
Added utility function grantTablePermissions to make it easier to grant select, delete, insert and update
permissions for users on results database setups
Added ResultExportManager class and utility to support standardized validation routines for exported data
Allow packages to have an internal migration table prefix separate from the user defined one e.g my_study_sccs_migration
emptyIsNa field is no longer required in specifications
Purge all data supported in upload functionality (requiring user input)
Bug fixes:
generateSqlSchema No longer requires primary key field to be lower case in results spec files, is now case-insensitive
connectionHandlers now check sql string attribute to see if query needs translating, avoiding potential for errors caused by double translation
Changes:
removed spuriously added createResultsDataModel function
added QueryNamespace R6 class that allows users to define a table specification and then complete queries without
always having to specify table names
Added createQueryNamespace helper function to allow a variety of convenient ways to create query namespaces
Added loadResultsDataModelSpecifications that loads results specs from a csv file and checks that the columns are
correct
Added some vignettes on usage of package features
Changes:
Added support for validating results model schema data.frames
Added function to generate sql for creating schemas from specification data frames
Added unzip folder function
Added robust upload function for directories of csv files conforming to model specifications
Added vignette to describe creating results schemas and uploading data sets
Changes:
Fixed support for newer versions of DatabaseConnector that have altered interface - this will mean this package
now depends on DatabaseConnector version 6.0.0 and above. However, queryDb compatibility means that no code
that uses these classes will need to be altered.
Added support for ConnectionHandler to load tables with dbplyr/dplyr tbl interface (i.e. lazy loading).
This means that dplyr style queries should be supported natively in Pooled and non-pooled connections.
Changes:
Added snakeCaseToCamelCase parameter to public in connectionHandlers so it can be defined once if required
Added schema generator function that creates sql from csv files with table defs
Initial version