If debug_action query option has a "global action" (i.e. not exec-node specific) and matches the given 'label' and 'args', apply the the action. See ImpalaService.thrift for details of the format and available global actions. For ExecNode code, use ExecNode::ExecDebugAction() instead. Will return OK unless either an invalid debug action is specified or the FAIL action is executed.
| 160 | /// ExecNode code, use ExecNode::ExecDebugAction() instead. Will return OK unless either |
| 161 | /// an invalid debug action is specified or the FAIL action is executed. |
| 162 | WARN_UNUSED_RESULT static inline Status DebugAction(const string& debug_action, |
| 163 | const char* label, const std::vector<string>& args = std::vector<string>(), |
| 164 | bool verify_only = false) { |
| 165 | if (LIKELY(debug_action.empty())) return Status::OK(); |
| 166 | return DebugActionImpl(debug_action, label, args, verify_only); |
| 167 | } |
| 168 | |
| 169 | WARN_UNUSED_RESULT static inline Status DebugAction( |
| 170 | const TQueryOptions& query_options, const char* label) { |