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

Method run_plugins_pre

tests/util/plugin_runner.py:90–96  ·  view source on GitHub ↗
(self, context=None, scope=None)

Source from the content-addressed store, hash-verified

88 LOG.debug("Plugin: %s, Scope: %s" % (p.__name__, p.scope))
89
90 def run_plugins_pre(self, context=None, scope=None):
91 if len(self.__plugins) == 0: return
92 if context: context['scope'] = scope
93 for p in self.__plugins:
94 if not scope or p.scope == scope.lower():
95 LOG.debug('Running pre-hook for %s at scope %s' % (p.__name__, scope))
96 p.run_pre_hook(context=context)
97
98 def run_plugins_post(self, context=None, scope=None):
99 if len(self.__plugins) == 0: return

Callers 3

execute_using_hive_hs2Function · 0.80
execute_using_impala_hs2Function · 0.80
run-workload.pyFile · 0.80

Calls 2

debugMethod · 0.45
run_pre_hookMethod · 0.45

Tested by

no test coverage detected