dbExecute,src_impala,character-method | R Documentation |
Executes an Impala statement that returns no result.
## S4 method for signature 'src_impala,character'
dbExecute(conn, statement, ...)
conn |
object with class class |
statement |
a character string containing SQL |
... |
other arguments passed on to methods |
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
This method is for statements that return no result, such as data
definition or data manipulation statements. Use
dbGetQuery()
for
SELECT
queries.
## Not run:
dbExecute(impala, "INVALIDATE METADATA")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.