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

Method GetPartitionStats

be/src/exec/catalog-op-executor.cc:438–450  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

436}
437
438Status CatalogOpExecutor::GetPartitionStats(
439 const TGetPartitionStatsRequest& req, TGetPartitionStatsResponse* result) {
440 int attempt = 0; // Used for debug action only.
441 CatalogServiceConnection::RpcStatus rpc_status =
442 CatalogServiceConnection::DoRpcWithRetry(env_->catalogd_client_cache(),
443 *ExecEnv::GetInstance()->GetCatalogdAddress().get(),
444 &CatalogServiceClientWrapper::GetPartitionStats, req,
445 FLAGS_catalog_client_connection_num_retries,
446 FLAGS_catalog_client_rpc_retry_interval_ms,
447 [&attempt]() { return CatalogRpcDebugFn(&attempt); }, result);
448 RETURN_IF_ERROR(rpc_status.status);
449 return Status::OK();
450}
451
452Status CatalogOpExecutor::UpdateTableUsage(const TUpdateTableUsageRequest& req,
453 TUpdateTableUsageResponse* resp) {

Callers

nothing calls this directly

Calls 5

CatalogRpcDebugFnFunction · 0.85
OKFunction · 0.85
catalogd_client_cacheMethod · 0.80
GetCatalogdAddressMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected