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

Method hashStringToUInt64

src/Functions/obfuscateQuery.cpp:123–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121};
122
123UInt64 ObfuscateQueryFunction::hashStringToUInt64(std::string_view s)
124{
125 SipHash h;
126 h.update(s);
127 return h.get64();
128}
129
130std::optional<UInt64> ObfuscateQueryFunction::extractConstSeedFromArg(const ColumnPtr & col)
131{

Callers

nothing calls this directly

Calls 2

updateMethod · 0.45
get64Method · 0.45

Tested by

no test coverage detected