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

Class QueryLocationInfo

be/src/service/impala-server.h:1544–1556  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1542
1543 /// Entries in the 'query_locations' map.
1544 struct QueryLocationInfo {
1545 QueryLocationInfo(NetworkAddressPB address, TUniqueId query_id)
1546 : address(std::move(address)) {
1547 query_ids.insert(std::move(query_id));
1548 }
1549
1550 /// Used for logging and error messages so that users don't have to translate between
1551 /// the BackendIdPB and a hostname themselves.
1552 NetworkAddressPB address;
1553
1554 /// Queries currently running or expected to run at this location.
1555 std::unordered_set<TUniqueId> query_ids;
1556 };
1557
1558 /// Contains info about what queries are running on each backend, so that they can be
1559 /// cancelled if the backend goes down.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected