dbStatistics | R Documentation |
Returns AWS Athena Statistics from execute queries dbSendQuery
dbStatistics(res, ...) ## S4 method for signature 'AthenaResult' dbStatistics(res, ...)
res |
An object inheriting from DBIResult. |
... |
Other arguments passed on to methods. |
dbStatistics()
returns list containing Athena Statistics return from boto3
.
## Not run: # Note: # - Require AWS Account to run below example. # - Different connection methods can be used please see `RAthena::dbConnect` documnentation library(DBI) library(RAthena) # Demo connection to Athena using profile name con <- dbConnect(RAthena::athena()) res <- dbSendQuery(con, "show databases") dbStatistics(res) # Clean up dbClearResult(res) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.