Skip to main content

Hasher

Type Alias Hasher 

Source
pub type Hasher = Arc<dyn Fn(&[Arc<dyn Array>], &mut [u64]) + Send + Sync>;
Expand description

Hashes the routing columns of a batch into out (one u64 per row) — the shuffle’s key hash, supplied by the planner (the engine’s DataFusion hash, fixed-seed: a key’s vnode is the same on every run, every worker and every restart). The runtime never chooses a hash function.

Aliased Type§

pub struct Hasher { /* private fields */ }