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

Function ValidateSharedState

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

Source from the content-addressed store, hash-verified

172}
173
174SmallIntVal ValidateSharedState(FunctionContext* context, SmallIntVal bytes) {
175 void* state = context->GetFunctionState(FunctionContext::THREAD_LOCAL);
176 EXPECT_TRUE(state != NULL);
177 memset(state, 0, bytes.val);
178 return SmallIntVal::null();
179}
180
181void ValidateSharedStateClose(
182 FunctionContext* context, FunctionContext::FunctionStateScope scope) {

Callers

nothing calls this directly

Calls 1

GetFunctionStateMethod · 0.80

Tested by

no test coverage detected