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

Function get_impala_shell_executable

tests/shell/util.py:388–397  ·  view source on GitHub ↗
(vector)

Source from the content-addressed store, hash-verified

386
387
388def get_impala_shell_executable(vector):
389 # impala-shell is invoked some places where adding a test vector may not make sense;
390 # use 'dev3' as the default.
391 impala_shell_executable, _ = get_dev_impala_shell_executable()
392 executable_map = {
393 'dev3': ['env', 'IMPALA_PYTHON_EXECUTABLE=python3',
394 'IMPALA_SHELL_PYTHON_FALLBACK=false', impala_shell_executable],
395 'python3': [os.path.join(IMPALA_HOME, 'shell/build/python3_venv/bin/impala-shell')]
396 }
397 return executable_map[vector.get_value_with_default('impala_shell', 'dev3')]
398
399
400def stderr_get_first_error_msg(stderr):

Callers 4

get_shell_cmdFunction · 0.85

Calls 3

joinMethod · 0.45