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

Function GetTablesMissingStatsWarning

be/src/util/error-util.cc:46–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46string GetTablesMissingStatsWarning(const vector<TTableName>& tables_missing_stats) {
47 stringstream ss;
48 if (tables_missing_stats.empty()) return string("");
49 ss << "WARNING: The following tables are missing relevant table and/or column "
50 << "statistics.\n" << PrintTableList(tables_missing_stats);
51 return ss.str();
52}
53
54void PrintErrorMap(ostream* stream, const ErrorLogMap& errors) {
55 for (const ErrorLogMap::value_type& v: errors) {

Callers 1

SetMemLimitExceededMethod · 0.85

Calls 3

PrintTableListFunction · 0.85
emptyMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected