pub fn array_distinct(array: Expr) -> Expr
returns distinct values from the array after removing duplicates.