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

Function ValidateUdf

be/src/udf/udf-test.cc:114–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114IntVal ValidateUdf(FunctionContext* context) {
115 EXPECT_EQ(context->version(), FunctionContext::v1_3);
116 EXPECT_FALSE(context->has_error()) << context->error_msg();
117 EXPECT_TRUE(context->error_msg() == NULL);
118 return IntVal::null();
119}
120
121IntVal ValidateFail(FunctionContext* context) {
122 EXPECT_FALSE(context->has_error());

Callers

nothing calls this directly

Calls 3

has_errorMethod · 0.80
error_msgMethod · 0.80
versionMethod · 0.45

Tested by

no test coverage detected