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

Method UpdateTableUsage

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

Source from the content-addressed store, hash-verified

540 }
541
542 void UpdateTableUsage(TUpdateTableUsageResponse& resp,
543 const TUpdateTableUsageRequest& req) override {
544 VLOG_RPC << "UpdateTableUsage(): request=" << ThriftDebugString(req);
545 Status status = AcceptRequest(req.protocol_version);
546 if (status.ok()) {
547 status = catalog_server_->catalog()->UpdateTableUsage(req);
548 }
549 if (!status.ok()) LOG(WARNING) << status.GetDetail();
550 TStatus thrift_status;
551 StatusToThrift(status, &thrift_status);
552 resp.__set_status(thrift_status);
553 VLOG_RPC << "UpdateTableUsage(): response.status=" << resp.status;
554 }
555
556 void GetNullPartitionName(TGetNullPartitionNameResponse& resp,
557 const TGetNullPartitionNameRequest& 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