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

Function CreateQueryIds

be/src/benchmarks/process-wide-locks-benchmark.cc:139–143  ·  view source on GitHub ↗

Create and store 'num_queries' Query IDs into 'query_ids'.

Source from the content-addressed store, hash-verified

137
138// Create and store 'num_queries' Query IDs into 'query_ids'.
139void CreateQueryIds(int num_queries) {
140 for (int i=0; i < num_queries; ++i) {
141 query_ids[i] = UuidToQueryId(random_generator()());
142 }
143}
144
145int main(int argc, char **argv) {
146 // Though we don't use the JVM or require FeSupport, the TestEnv class requires it,

Callers 1

mainFunction · 0.85

Calls 1

UuidToQueryIdFunction · 0.85

Tested by

no test coverage detected