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.


query : string

SQL or DDL statement

results : boolean, default False

Pass True if the query as a result set


cur : ImpalaCursor if results=True, None otherwise

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