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

Method CurrentSession

be/src/exprs/utility-functions-ir.cc:197–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197StringVal UtilityFunctions::CurrentSession(FunctionContext* ctx) {
198 return AnyValUtil::FromString(ctx, PrintId(ctx->impl()->state()->session_id()));
199}
200
201StringVal UtilityFunctions::Coordinator(FunctionContext* ctx) {
202 const TQueryCtx& query_ctx = ctx->impl()->state()->query_ctx();

Callers

nothing calls this directly

Calls 5

FromStringFunction · 0.85
PrintIdFunction · 0.85
session_idMethod · 0.80
implMethod · 0.80
stateMethod · 0.45

Tested by

no test coverage detected