MCPcopy Create free account
hub / github.com/apache/datafusion / hash

Function hash

datafusion/expr/src/udf.rs:1255–1259  ·  view source on GitHub ↗
(value: &T)

Source from the content-addressed store, hash-verified

1253 }
1254
1255 fn hash<T: Hash>(value: &T) -> u64 {
1256 let hasher = &mut DefaultHasher::new();
1257 value.hash(hasher);
1258 hasher.finish()
1259 }
1260}

Callers 3

hashMethod · 0.50
hashMethod · 0.50
hashMethod · 0.50

Calls 3

newFunction · 0.85
hashMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…