pub fn hash(array: &dyn Array) -> Result<PrimitiveArray<u64>>
Available on crate feature compute_hash only.
Expand description

Returns the element-wise hash of an Array. Validity is preserved. Supported DataTypes:

  • Boolean types
  • All primitive types except Float32 and Float64
  • [Large]Utf8;
  • [Large]Binary.

Errors

This function errors whenever it does not support the specific DataType.