Hive/Impala submit/get via Python

Hi! I’m a Python/SQL user, brand new to Hue. Is there a way to submit queries to Hive or Impala and get the results sent to a Python kernel, similar to pyodbc or SQLAlchemy?

Right now the API is not public (but REST will be with and the new Editor, so it is not trivial to do what you want.

In the meantime, it can still be called:

Or the internal Python lib can also be reused: