Function deltalake::datafusion::common::hash_utils::create_hashes

source ·
pub fn create_hashes<'a>(
    arrays: &[Arc<dyn Array>],
    random_state: &RandomState,
    hashes_buffer: &'a mut Vec<u64>
) -> Result<&'a mut Vec<u64>, DataFusionError>
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