Skip to main content

supports_distinct

Function supports_distinct 

Source
pub(crate) fn supports_distinct(dt: &DataType) -> bool
Expand description

Returns true if distinct (via compare_op) can handle this data type.

compare_op unwraps at most one level of dictionary, then dispatches on the leaf type. Anything else (REE, nested dictionary, nested/complex types) must go through make_comparator instead.