spark: Distinct

copies work from @talumbau
expr: scalar !=, <=, >=