No known key found for this signature in database
GPG Key ID: 1D7529BE14E2BBA9
2 changed files with
11 additions and
6 deletions
-
R/jdbc.r
-
man/metis.lite.Rd
|
@ -22,7 +22,6 @@ |
|
|
OTHER = 1111 |
|
|
OTHER = 1111 |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
stats::setNames( |
|
|
stats::setNames( |
|
|
0:6, |
|
|
0:6, |
|
|
c("OFF", "FATAL", "ERROR", "WARNING", "INFO", "DEBUG", "TRACE") |
|
|
c("OFF", "FATAL", "ERROR", "WARNING", "INFO", "DEBUG", "TRACE") |
|
@ -49,7 +48,7 @@ Athena <- function(identifier.quote = '`') { |
|
|
|
|
|
|
|
|
JDBC( |
|
|
JDBC( |
|
|
driverClass = "com.simba.athena.jdbc.Driver", |
|
|
driverClass = "com.simba.athena.jdbc.Driver", |
|
|
system.file("java", "AthenaJDBC42_2.0.6.jar", package = "metis"), |
|
|
system.file("java", "AthenaJDBC42_2.0.6.jar", package = "metis.lite"), |
|
|
identifier.quote = identifier.quote |
|
|
identifier.quote = identifier.quote |
|
|
) -> drv |
|
|
) -> drv |
|
|
|
|
|
|
|
@ -98,8 +97,6 @@ setMethod( |
|
|
|
|
|
|
|
|
if (!(log_level %in% 0:6)) log_level <- .ll_trans[log_level] |
|
|
if (!(log_level %in% 0:6)) log_level <- .ll_trans[log_level] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
callNextMethod( |
|
|
callNextMethod( |
|
|
drv, |
|
|
drv, |
|
|
conn_string, |
|
|
conn_string, |
|
|
|
@ -14,9 +14,17 @@ is included along with an interface to the 'AWS' command-line utility. |
|
|
\section{IMPORTANT}{ |
|
|
\section{IMPORTANT}{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Since R 3.5 (I don't remember this happening in R 3.4.x) signals sent from interrupting |
|
|
Since R 3.5 (I don't remember this happening in R 3.4.x) signals sent from interrupting |
|
|
Athena JDBC calls crash the R #' interpreter. You need to set the `-Xrs` option to avoid |
|
|
Athena JDBC calls crash the R #' interpreter. You need to set the `-Xrs` option to avoid |
|
|
signals being passed on to the JVM owner. That has to be done _#' before_ `rJava` is |
|
|
signals being passed on to the JVM owner. That has to be done _#' before_ `rJava` is |
|
|
|
|
|
loaded so you either need to remember to put it at the top of all scripts _or_ stick this |
|
|
|
|
|
in your local #' `~/.Rprofile` and/or sitewide `Rprofile`: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Since R 3.5 (I don't remember this happening in R 3.4.x) signals sent from interrupting |
|
|
|
|
|
Athena JDBC calls crash the R #' interpreter. You need to set the `-Xrs` option to avoid |
|
|
|
|
|
signals being passed on to the JVM owner. That has to be done _#' before_ `rJava` is |
|
|
loaded so you either need to remember to put it at the top of all scripts _or_ stick this |
|
|
loaded so you either need to remember to put it at the top of all scripts _or_ stick this |
|
|
in your local #' `~/.Rprofile` and/or sitewide `Rprofile`: |
|
|
in your local #' `~/.Rprofile` and/or sitewide `Rprofile`: |
|
|
|
|
|
|
|
|