dbExecute-src_impala-character-method: Execute an Impala statement that returns no result

Description Usage Arguments Value Note Examples

Description

Executes an Impala statement that returns no result.

Usage

1
2
## S4 method for signature 'src_impala,character'
dbExecute(conn, statement, ...)

Arguments

conn

object with class class src_impala

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

1
2
3
## Not run: 
dbExecute(impala, "INVALIDATE METADATA")
## End(Not run)

ianmcook/implyr documentation built on Aug. 9, 2018, 7:14 p.m.