MCPcopy Create free account
hub / github.com/apache/impala / execute_async

Method execute_async

tests/common/impala_connection.py:462–466  ·  view source on GitHub ↗
(self, sql_stmt, user=None)

Source from the content-addressed store, hash-verified

460 fetch_exec_summary=fetch_exec_summary)
461
462 def execute_async(self, sql_stmt, user=None):
463 self.log_client(u"executing async {0}\n{1}".format(
464 self.__host_port, format_sql_for_logging(sql_stmt)))
465 beeswax_handle = self.__beeswax_client.execute_query_async(sql_stmt, user=user)
466 return OperationHandle(beeswax_handle, sql_stmt)
467
468 def cancel(self, operation_handle):
469 self.log_handle(operation_handle, 'canceling operation')

Callers

nothing calls this directly

Calls 5

format_sql_for_loggingFunction · 0.85
OperationHandleClass · 0.85
log_clientMethod · 0.45
formatMethod · 0.45
execute_query_asyncMethod · 0.45

Tested by

no test coverage detected