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

Method GetPartitionStats

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

Source from the content-addressed store, hash-verified

509 }
510
511 void GetPartitionStats(TGetPartitionStatsResponse& resp,
512 const TGetPartitionStatsRequest& req) override {
513 VLOG_RPC << "GetPartitionStats(): request=" << ThriftDebugString(req);
514 Status status = AcceptRequest(req.protocol_version);
515 if (status.ok()) {
516 status = catalog_server_->catalog()->GetPartitionStats(req, &resp);
517 }
518 if (!status.ok()) LOG(ERROR) << status.GetDetail();
519 TStatus thrift_status;
520 StatusToThrift(status, &thrift_status);
521 resp.__set_status(thrift_status);
522 VLOG_RPC << "GetPartitionStats(): response=" << ThriftDebugStringNoThrow(resp);
523 }
524
525 // Prioritizes the loading of metadata for one or more catalog objects. Currently only
526 // used for loading tables/views because they are the only type of object that is loaded

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected