Access and Query Amazon Athena via DBI/JDBC
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.

48 lines
1.5 KiB

пре 7 година
#' Helpers for Accessing and Querying Amazon Athena
#'
пре 6 година
#' 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.
пре 7 година
#'
пре 5 година
#' @name metis.lite
пре 5 година
#'
#' @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
пре 5 година
#' signals being passed on to the JVM owner. That has to be done _before_ `rJava` is
пре 5 година
#' 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(
пре 5 година
#' "java.parameters" = c(getOption("java.parameters", default = NULL), "-Xrs")
пре 5 година
#' )
#' }
#'
пре 5 година
#' @md
пре 6 година
#' @encoding UTF-8
пре 5 година
#' @keywords internal
пре 7 година
#' @docType package
#' @author Bob Rudis (bob@@rud.is)
пре 5 година
#' @import RJDBC DBI bit64 dbplyr
пре 7 година
NULL
#' Use Credentials from .aws/credentials File
#'
#' @md
пре 5 година
#' @importFrom aws.signature use_credentials read_credentials
пре 7 година
#' @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
пре 7 година
NULL