Access and Query Amazon Athena via DBI/JDBC
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

48 líneas
1.5 KiB

hace 7 años
#' Helpers for Accessing and Querying Amazon Athena
#'
hace 6 años
#' Methods are provides to connect to 'Amazon' 'Athena', lookup schemas/tables,
#' perform queries and retrieve query results. A lightweight 'RJDBC' implementation
#' is included along with an interface to the 'AWS' command-line utility.
hace 7 años
#'
hace 5 años
#' @name metis.lite
hace 5 años
#'
#' @section IMPORTANT:
#'
#' 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
hace 5 años
#' signals being passed on to the JVM owner. That has to be done _before_ `rJava` is
hace 5 años
#' 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`:
#'
#'
#' if (!grepl("-Xrs", getOption("java.parameters", ""))) {
#' options(
hace 5 años
#' "java.parameters" = c(getOption("java.parameters", default = NULL), "-Xrs")
hace 5 años
#' )
#' }
#'
hace 5 años
#' @md
hace 6 años
#' @encoding UTF-8
hace 5 años
#' @keywords internal
hace 7 años
#' @docType package
#' @author Bob Rudis (bob@@rud.is)
hace 5 años
#' @import RJDBC DBI bit64 dbplyr
NULL
#' Use Credentials from .aws/credentials File
#'
#' @md
hace 5 años
#' @importFrom aws.signature use_credentials read_credentials
#' @references [aws.signature::use_credentials()] / [aws.signature::read_credentials()]
#' @name use_credentials
#' @rdname use_credentials
#' @inheritParams aws.signature::use_credentials
#' @export
NULL
#' @name read_credentials
#' @rdname use_credentials
#' @export
hace 7 años
NULL