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) – DML or DDL statement
results (boolean, default False) – Pass True if the query as a result set
- Returns
cur – You must call cur.release() after you are finished using the cursor.
- Return type
ImpalaCursor if results=True, None otherwise