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

Method get_log

tests/common/impala_connection.py:1098–1104  ·  view source on GitHub ↗
(self, operation_handle)

Source from the content-addressed store, hash-verified

1096 raise NotImplementedError()
1097
1098 def get_log(self, operation_handle):
1099 self.log_handle(operation_handle, 'getting log for operation')
1100 # HS2 includes non-error log messages that we need to filter out.
1101 cursor = operation_handle.get_handle()
1102 lines = [line for line in cursor.get_log().split('\n')
1103 if not PROGRESS_LOG_RE.match(line)]
1104 return '\n'.join(lines)
1105
1106 def set_configuration_option(self, name, value, is_log_sql=True):
1107 # Only set the option if it's not already set to the same value.

Callers

nothing calls this directly

Calls 5

get_handleMethod · 0.80
matchMethod · 0.80
log_handleMethod · 0.45
get_logMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected