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

Function hash

datafusion/expr/src/async_udf.rs:215–219  ·  view source on GitHub ↗
(value: &T)

Source from the content-addressed store, hash-verified

213 }
214
215 fn hash<T: Hash>(value: &T) -> u64 {
216 let hasher = &mut DefaultHasher::new();
217 value.hash(hasher);
218 hasher.finish()
219 }
220
221 #[test]
222 fn test_async_udf_partial_eq_and_hash() {

Callers

nothing calls this directly

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…