| 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 |
nothing calls this directly
no test coverage detected