
Keep 63-bit surrogate keys exact in DatabaseConnector (FR-C9)
Source:R/hades_bridge.R
hades_set_integer64.RdVisit and event ids are 63-bit BIGINTs (above 2^53), which R doubles cannot hold exactly. With the default
databaseConnectorInteger64AsNumeric = TRUE, DatabaseConnector::querySql() stops with "The data contains
integers >= 2^53" (for example when PatientLevelPrediction fetches cohorts). This sets the option to FALSE
so such columns come back as integer64. plp_database_details() and cm_database_details() call it for you only when the database really holds ids that large (integer64 = "auto"), because integer64 columns make
the rest of the HADES stack do more work and crash some Windows setups when no id needs it.