pub fn check_validity_unchanged(arr: &ArrayData, compressed: &ArrayData)
Check that compression did not alter the length of the validity array.