dbExecute-src_impala-character-method function

Execute an Impala statement that returns no result

Execute an Impala statement that returns no result

Executes an Impala statement that returns no result.

## 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

Returns

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)
  • Maintainer: Ian Cook
  • License: Apache License 2.0 | file LICENSE
  • Last published: 2024-02-06