sendAthena: Send a SQL Statement

Description Usage Arguments Details Value See Also Examples

View source: R/sql.R

Description

Unlike the queryAthena function, the render_sql parameter provides a pause after rendering in case the user wants to copy and paste the rendered SQL into a client if the session is interactive. This is particularly useful with large operations that are better executed within a background client.

Usage

1
2
3
4
5
6
7
sendAthena(
  conn,
  conn_fun = "connectAthena()",
  sql_statement,
  verbose = TRUE,
  render_sql = TRUE
)

Arguments

conn

PARAM_DESCRIPTION, Default: NULL

sql_statement

PARAM_DESCRIPTION

Details

DETAILS

Value

OUTPUT_DESCRIPTION

See Also

send

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

meerapatelmd/oldamphora documentation built on Jan. 4, 2021, 12:33 a.m.