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

Method PrioritizeLoad

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

Prioritizes the loading of metadata for one or more catalog objects. Currently only used for loading tables/views because they are the only type of object that is loaded lazily.

Source from the content-addressed store, hash-verified

526 // used for loading tables/views because they are the only type of object that is loaded
527 // lazily.
528 void PrioritizeLoad(TPrioritizeLoadResponse& resp, const TPrioritizeLoadRequest& req)
529 override {
530 VLOG_RPC << "PrioritizeLoad(): request=" << ThriftDebugString(req);
531 Status status = AcceptRequest(req.protocol_version);
532 if (status.ok()) {
533 status = catalog_server_->catalog()->PrioritizeLoad(req);
534 }
535 if (!status.ok()) LOG(ERROR) << status.GetDetail();
536 TStatus thrift_status;
537 StatusToThrift(status, &thrift_status);
538 resp.__set_status(thrift_status);
539 VLOG_RPC << "PrioritizeLoad(): response=" << ThriftDebugString(resp);
540 }
541
542 void UpdateTableUsage(TUpdateTableUsageResponse& resp,
543 const TUpdateTableUsageRequest& req) override {

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