
Execute SQL query and return results
Source:R/databricks-dbi.R
dbGetQuery-DatabricksConnection-character-method.RdExecute SQL query and return results
Usage
# S4 method for class 'DatabricksConnection,character'
dbGetQuery(
conn,
statement,
disposition = conn@disposition,
show_progress = conn@show_progress,
...,
query_tags = conn@query_tags
)Arguments
- conn
A DatabricksConnection object
- statement
SQL statement to execute
- disposition
Query disposition mode. Defaults to the connection's
dispositionsetting.- show_progress
If
TRUE, show progress updates during query execution. Defaults to the connection'sshow_progresssetting.- ...
Additional arguments passed to underlying query execution
Named list of execution-level query tags, as in
db_sql_exec_query(). Defaults to the connection's tags. An explicitly supplied list replaces all connection tags for this statement only;NULLorlist()omits tags for this statement.