Ви не можете вибрати більше 25 тем
Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
28 рядки
833 B
28 рядки
833 B
7 роки тому
|
% Generated by roxygen2: do not edit by hand
|
||
|
% Please edit documentation in R/metis.r
|
||
|
\name{athena_connect}
|
||
|
\alias{athena_connect}
|
||
|
\title{Make a JDBC connection to Athena}
|
||
|
\usage{
|
||
|
athena_connect(default_schema, simple = FALSE)
|
||
|
}
|
||
|
\arguments{
|
||
|
\item{default_schema}{def sch}
|
||
|
|
||
|
\item{simple}{simple}
|
||
|
}
|
||
|
\description{
|
||
|
Handles the up-front JDBC config
|
||
|
}
|
||
|
\details{
|
||
|
For all connection types it is expected that you have the following environment variables
|
||
|
defined (a good place is \code{~/.Renviron}):
|
||
|
\itemize{
|
||
|
\item \code{AWS_S3_STAGING_DIR}: the name of the S3 bucket where Athena can write stuff
|
||
|
\item \code{AWS_PROFILE}: the AWS profile ID in \code{~/.aws/credentials} (defaults to \code{default} if not present)
|
||
|
}
|
||
|
|
||
|
For \code{simple} == \code{FALSE} the expectation is that you're working with a managed
|
||
|
\code{~/.aws/credentials} file.
|
||
|
}
|