Impala to python: ODBC and thrift