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

Method get_runtime_profile

shell/impala_shell/impala_client.py:382–389  ·  view source on GitHub ↗

Get the runtime profile string from the server. Returns None if an error was encountered. If the query was retried, returns the profile of the failed attempt as well; the tuple (profile, failed_profile) is returned where 'profile' is the profile of the most recent query attempt and 'fail

(self, last_query_handle, profile_format="string")

Source from the content-addressed store, hash-verified

380 raise NotImplementedError()
381
382 def get_runtime_profile(self, last_query_handle, profile_format="string"): # noqa: U100
383 """Get the runtime profile string from the server. Returns None if
384 an error was encountered. If the query was retried, returns the profile of the failed
385 attempt as well; the tuple (profile, failed_profile) is returned where 'profile' is
386 the profile of the most recent query attempt and 'failed_profile' is the profile of
387 the original query attempt that failed. Currently, only the HS2 protocol supports
388 returning the failed profile."""
389 raise NotImplementedError()
390
391 def get_summary(self, last_query_handle):
392 """Get the thrift TExecSummary from the server. Returns None if

Callers 2

do_profileMethod · 0.45
_execute_stmtMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected