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

Function GetQueryId

be/src/util/uid-util.h:78–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78inline TUniqueId GetQueryId(const TUniqueId& fragment_instance_id) {
79 TUniqueId result = fragment_instance_id;
80 result.lo &= ~FRAGMENT_IDX_MASK; // zero out bottom 4 bytes
81 return result;
82}
83
84inline int32_t GetInstanceIdx(const TUniqueId& fragment_instance_id) {
85 return fragment_instance_id.lo & FRAGMENT_IDX_MASK;

Callers 3

TEST_FFunction · 0.85
CancelMethod · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.68
TESTFunction · 0.68