MCPcopy Create free account
hub / github.com/apache/arrow / return_error

Function return_error

cpp/src/gandiva/interval_holder.h:79–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 int32_t suppress_errors_;
78
79 void return_error(ExecutionContext* context, std::string& data) const {
80 if (suppress_errors_ != 0) {
81 return;
82 }
83
84 std::string err_msg = "Error parsing the period: " + data + ".";
85 context->set_error_msg(err_msg.c_str());
86 }
87};
88
89/// Function Holder for castINTERVALDAY function

Callers 3

operator()Method · 0.85
operator()Method · 0.85
operator()Function · 0.85

Calls 1

set_error_msgMethod · 0.80

Tested by

no test coverage detected