ibis.impala.api.ImpalaClient.raw_sql

ImpalaClient.raw_sql(self, query, results=False)

Execute a given query string. Could have unexpected results if the query modifies the behavior of the session in a way unknown to Ibis; be careful.

Parameters
querystring

DML or DDL statement

resultsboolean, default False

Pass True if the query as a result set

Returns
curImpalaCursor if results=True, None otherwise

You must call cur.release() after you are finished using the cursor.