dbExecute,src_impala,character-method {implyr} | R Documentation |
Execute an Impala statement that returns no result
Description
Executes an Impala statement that returns no result.
Usage
## S4 method for signature 'src_impala,character'
dbExecute(conn, statement, ...)
Arguments
conn |
object with class class |
statement |
a character string containing SQL |
... |
other arguments passed on to methods |
Value
Depending on the package used to connect to Impala, either a scalar
numeric that specifies the number of rows affected by the statement, or
NULL
Note
This method is for statements that return no result, such as data
definition or data manipulation statements. Use
dbGetQuery()
for
SELECT
queries.
Examples
## Not run:
dbExecute(impala, "INVALIDATE METADATA")
## End(Not run)
[Package implyr version 0.5.0 Index]