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

Method __log_execute

tests/common/impala_connection.py:1027–1032  ·  view source on GitHub ↗
(self, sql_stmt)

Source from the content-addressed store, hash-verified

1025 self.__conn.close()
1026
1027 def __log_execute(self, sql_stmt):
1028 session_id = session_handle_to_session_id(self.__session.handle)
1029 self.log_client(
1030 u"executing at {0}. session: {1} user: {2}\n{3}".format(
1031 self.__host_port, session_id, self.__user, format_sql_for_logging(sql_stmt))
1032 )
1033
1034 def log_client(self, message):
1035 """Log 'message' at INFO level, prefixed wih the protocol name of this connection."""

Callers 1

execute_asyncMethod · 0.95

Calls 4

log_clientMethod · 0.95
format_sql_for_loggingFunction · 0.85
formatMethod · 0.45

Tested by

no test coverage detected