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

Method query_id

be/src/udf/udf.cc:320–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318}
319
320FunctionContext::UniqueId FunctionContext::query_id() const {
321 UniqueId id;
322#if defined(IMPALA_UDF_SDK_BUILD) && IMPALA_UDF_SDK_BUILD
323 id.hi = id.lo = 0;
324#else
325 id.hi = impl_->state_->query_id().hi;
326 id.lo = impl_->state_->query_id().lo;
327#endif
328 return id;
329}
330
331bool FunctionContext::IsQueryCancelled() const {
332 return impl_->state_->is_cancelled();

Callers 7

CloseMethod · 0.45
PrepareMethod · 0.45
OpenMethod · 0.45
OtelTraceManagerMethod · 0.45
FinalizeModuleMethod · 0.45
DiagnosticHandlerFnMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected