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

Function hash

datafusion/expr/src/udaf.rs:1530–1534  ·  view source on GitHub ↗
(value: T)

Source from the content-addressed store, hash-verified

1528 }
1529
1530 fn hash<T: Hash>(value: T) -> u64 {
1531 let hasher = &mut DefaultHasher::new();
1532 value.hash(hasher);
1533 hasher.finish()
1534 }
1535}

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…