For a given collection and attribute (column) return the `distinct` set of values. Should work with query engine e.g. filtering and ordering.