| 386 | |
| 387 | |
| 388 | def 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 | |
| 400 | def stderr_get_first_error_msg(stderr): |