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

Method GetInfo

be/src/service/impala-hs2-server.cc:548–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

546}
547
548void ImpalaServer::GetInfo(TGetInfoResp& return_val,
549 const TGetInfoReq& request) {
550 VLOG_QUERY << "GetInfo(): request=" << RedactedDebugString(request);
551 HS2_RETURN_IF_ERROR(return_val, CheckNotShuttingDown(), SQLSTATE_GENERAL_ERROR);
552
553 TUniqueId session_id;
554 TUniqueId secret;
555 HS2_RETURN_IF_ERROR(return_val, THandleIdentifierToTUniqueId(
556 request.sessionHandle.sessionId, &session_id, &secret), SQLSTATE_GENERAL_ERROR);
557 ScopedSessionState session_handle(this);
558 shared_ptr<SessionState> session;
559 HS2_RETURN_IF_ERROR(return_val,
560 session_handle.WithSession(session_id, SecretArg::Session(secret), &session),
561 SQLSTATE_GENERAL_ERROR);
562
563 PopulateOdbcGetInfo(return_val, request.infoType, session,
564 SQLSTATE_OPTIONAL_FEATURE_NOT_IMPLEMENTED);
565}
566
567void ImpalaServer::ExecuteStatementCommon(TExecuteStatementResp& return_val,
568 const TExecuteStatementReq& request, const TExecRequest* external_exec_request) {

Callers 2

test_get_infoMethod · 0.45

Calls 4

RedactedDebugStringFunction · 0.85
SessionEnum · 0.85
PopulateOdbcGetInfoFunction · 0.85
WithSessionMethod · 0.80

Tested by 2

test_get_infoMethod · 0.36