MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / getHash

Method getHash

src/Functions/FunctionsStringHash.cpp:371–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369 }
370
371 UInt64 getHash()
372 {
373 if (values.empty())
374 return 0;
375
376 UInt64 res = 0;
377 for (auto it = values.begin(); it != values.end(); ++it)
378 res = CityHash_v1_0_2::Hash128to64(CityHash_v1_0_2::uint128(res, it->first));
379
380 return res;
381 }
382
383 void fill(ColumnTuple & strings)
384 {

Callers 2

FormatFilterInfoMethod · 0.45
applyMethod · 0.45

Calls 5

Hash128to64Function · 0.50
uint128Class · 0.50
emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected