ibis.impala.api.ImpalaClient.raw_sql

ImpalaClient.raw_sql(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:

query : string

SQL or DDL statement

results : boolean, default False

Pass True if the query as a result set

Returns:

cur : ImpalaCursor if results=True, None otherwise

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