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

Function CollectInfoStringValuesByKeys

be/src/service/query-profile-redaction.cc:369–374  ·  view source on GitHub ↗

Recursively collects info_strings values whose keys match the target set.

Source from the content-addressed store, hash-verified

367
368// Recursively collects info_strings values whose keys match the target set.
369static vector<string> CollectInfoStringValuesByKeys(
370 const Value& node, const unordered_set<string_view>& target_keys) {
371 vector<string> values;
372 CollectInfoStringValuesByKeysImpl(node, target_keys, &values);
373 return values;
374}
375
376// Extracts hostnames from specific profile sections that include host:port lists.
377static vector<string> ExtractHostTokensFromPerHostSections(const Value& source_json) {

Calls 1

Tested by

no test coverage detected