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

Method GetFunctions

be/src/catalog/catalog-server.cc:457–469  ·  view source on GitHub ↗

Gets functions in the Catalog based on the parameters of the TGetFunctionsRequest.

Source from the content-addressed store, hash-verified

455 // Gets functions in the Catalog based on the parameters of the
456 // TGetFunctionsRequest.
457 void GetFunctions(TGetFunctionsResponse& resp, const TGetFunctionsRequest& req)
458 override {
459 VLOG_RPC << "GetFunctions(): request=" << ThriftDebugString(req);
460 Status status = AcceptRequest(req.protocol_version);
461 if (status.ok()) {
462 status = catalog_server_->catalog()->GetFunctions(req, &resp);
463 }
464 if (!status.ok()) LOG(ERROR) << status.GetDetail();
465 TStatus thrift_status;
466 StatusToThrift(status, &thrift_status);
467 resp.__set_status(thrift_status);
468 VLOG_RPC << "GetFunctions(): response=" << ThriftDebugString(resp);
469 }
470
471 // Gets a TCatalogObject based on the parameters of the TGetCatalogObjectRequest.
472 void GetCatalogObject(TGetCatalogObjectResponse& resp,

Callers

nothing calls this directly

Calls 5

ThriftDebugStringFunction · 0.85
StatusToThriftFunction · 0.85
GetDetailMethod · 0.80
okMethod · 0.45
catalogMethod · 0.45

Tested by

no test coverage detected