Function datafusion_common::hash_utils::create_hashes

source ยท
pub fn create_hashes<'a>(
    arrays: &[ArrayRef],
    random_state: &RandomState,
    hashes_buffer: &'a mut Vec<u64>,
) -> Result<&'a mut Vec<u64>>
Expand description

Creates hash values for every row, based on the values in the columns.

The number of rows to hash is determined by hashes_buffer.len(). hashes_buffer should be pre-sized appropriately