Access and Query Amazon Athena via DBI/JDBC
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

33 linhas
1.2KB

  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/metis-lite-package.R
  3. \docType{package}
  4. \encoding{UTF-8}
  5. \name{metis.lite}
  6. \alias{metis.lite}
  7. \alias{metis.lite-package}
  8. \title{Helpers for Accessing and Querying Amazon Athena}
  9. \description{
  10. Methods are provides to connect to 'Amazon' 'Athena', lookup schemas/tables,
  11. perform queries and retrieve query results. A lightweight 'RJDBC' implementation
  12. is included along with an interface to the 'AWS' command-line utility.
  13. }
  14. \section{IMPORTANT}{
  15. Since R 3.5 (I don't remember this happening in R 3.4.x) signals sent from interrupting
  16. Athena JDBC calls crash the R #' interpreter. You need to set the \code{-Xrs} option to avoid
  17. signals being passed on to the JVM owner. That has to be done \emph{before} \code{rJava} is
  18. loaded so you either need to remember to put it at the top of all scripts \emph{or} stick this
  19. in your local #' \code{~/.Rprofile} and/or sitewide \code{Rprofile}:\preformatted{if (!grepl("-Xrs", getOption("java.parameters", ""))) {
  20. options(
  21. "java.parameters" = c(getOption("java.parameters", default = NULL), "-Xrs")
  22. )
  23. }
  24. }
  25. }
  26. \author{
  27. Bob Rudis (bob@rud.is)
  28. }
  29. \keyword{internal}