Amazon Athena JDBC Driver Wrapper Supporting the 'metis' Package
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.3KB

  1. #' Amazon Athena JDBC Driver Wrapper Supporting the 'metis' Package
  2. #'
  3. #' Contents of the Amazon Athena JDBC Driver
  4. #' <https://docs.aws.amazon.com/athena/latest/ug/connect-with-jdbc.html>
  5. #' provided to support functions in the 'metis' package. Version number
  6. #' reflects the version number of the included 'JAR' file.
  7. #'
  8. #' @name metis.jars
  9. #'
  10. #' @section IMPORTANT:
  11. #'
  12. #' Until a release of 'rJava' newer than '0.9.10' is on CRAN signals sent
  13. #' from interrupting Athena JDBC calls crash the R interpreter. You therefore
  14. #' need to set the `-Xrs` option to avoid signals being passed on to the JVM
  15. #' owner. That has to be done _before_ `rJava` is loaded so you either need
  16. #' to remember to put it at the top of all scripts _or_ stick this
  17. #' in your local `~/.Rprofile` and/or sitewide `Rprofile`:
  18. #'
  19. #' options(
  20. #' "java.parameters" = c(getOption("java.parameters", default = NULL), "-Xrs")
  21. #' )
  22. #'
  23. #'
  24. #' @md
  25. #' @encoding UTF-8
  26. #' @keywords internal
  27. #' @docType package
  28. #' @author Bob Rudis (bob@@rud.is)
  29. #' @import rJava
  30. #' @importFrom utils packageVersion compareVersion
  31. #' @references [Simba Athena JDBC Driver with SQL Connector Installation and Configuration Guide](https://s3.amazonaws.com/athena-downloads/drivers/JDBC/SimbaAthenaJDBC_2.0.7/docs/Simba+Athena+JDBC+Driver+Install+and+Configuration+Guide.pdf)
  32. NULL