Function mz_repr::row::encode::preserves_order

source ·
pub fn preserves_order(scalar_type: &ScalarType) -> bool
Expand description

Returns true iff the ordering of the “raw” and Persist-encoded versions of this columm would match: ie. sort(encode(column)) == encode(sort(column)). This encoding has been designed so that this is true for many types.