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

Function log_completion

tests/util/compute_table_stats.py:56–61  ·  view source on GitHub ↗
(completed, total_tables, error=None)

Source from the content-addressed store, hash-verified

54
55
56def log_completion(completed, total_tables, error=None):
57 if error:
58 LOG.error("Completed COMPUTE STATS for %d/%d tables with error.",
59 completed, total_tables, exc_info=error)
60 else:
61 LOG.info("Completed COMPUTE STATS for %d/%d tables.", completed, total_tables)
62
63
64def compute_stats(client_factory, db_names=None, table_names=None,

Callers 1

compute_statsFunction · 0.85

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected