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.

38 lines
1.4 KiB

4 years ago
4 years ago
3 years ago
3 years ago
3 years ago
4 years ago
3 years ago
  1. % Generated by roxygen2: do not edit by hand
  2. % Please edit documentation in R/jdbc.r
  3. \docType{methods}
  4. \name{dbConnect,AthenaDriver-method}
  5. \alias{dbConnect,AthenaDriver-method}
  6. \title{AthenaJDBC}
  7. \usage{
  8. \S4method{dbConnect}{AthenaDriver}(drv,
  9. provider = "com.simba.athena.amazonaws.auth.DefaultAWSCredentialsProviderChain",
  10. region = "us-east-1", s3_staging_dir = Sys.getenv("AWS_S3_STAGING_DIR"),
  11. schema_name = "default", max_error_retries = 10,
  12. connection_timeout = 10000, socket_timeout = 10000, log_path, log_level,
  13. ...)
  14. }
  15. \arguments{
  16. \item{provider}{JDBC auth provider (ideally leave default)}
  17. \item{region}{AWS region the Athena tables are in}
  18. \item{s3_staging_dir}{A write-able bucket on S3 that you have permissions for}
  19. \item{schema_name}{LOL if only this actually worked with Amazon's hacked Presto driver}
  20. \item{max_error_retries, connection_timeout, socket_timeout}{technical connection info that you should only muck with if you know what you're doing.}
  21. \item{log_path, log_level}{The Athena JDBC driver can (shockingly) provide a decent bit
  22. of data in logs. Set this to a temporary directory or something log4j can use. For
  23. `log_level` use the names ("INFO", "DEBUG", "WARN", "ERROR", "ALL", "OFF", "FATAL", "TRACE") or
  24. their corresponding integer values 0-6.}
  25. \item{...}{unused}
  26. }
  27. \description{
  28. AthenaJDBC
  29. }
  30. \references{
  31. <https://docs.aws.amazon.com/athena/latest/ug/connect-with-jdbc.html>
  32. }