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

Method Hash

be/src/exec/hash-table.cc:239–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237}
238
239uint32_t HashTableCtx::Hash(const void* input, int len, uint32_t hash) const {
240 /// Use CRC hash at first level for better performance. Switch to murmur hash at
241 /// subsequent levels since CRC doesn't randomize well with different seed inputs.
242 if (level_ == 0) return HashUtil::Hash(input, len, hash);
243 return HashUtil::MurmurHash2_64(input, len, hash);
244}
245
246uint32_t HashTableCtx::HashRow(
247 const uint8_t* expr_values, const uint8_t* expr_values_null) const noexcept {

Callers 1

TEST_FFunction · 0.45

Calls 1

HashFunction · 0.85

Tested by 1

TEST_FFunction · 0.36