Function datafusion_physical_expr::utils::requirements_compatible
source · pub fn requirements_compatible<F: FnOnce() -> OrderingEquivalenceProperties, F2: FnOnce() -> EquivalenceProperties>(
provided: Option<&[PhysicalSortRequirement]>,
required: Option<&[PhysicalSortRequirement]>,
ordering_equal_properties: F,
equal_properties: F2
) -> bool
Expand description
Checks whether the given PhysicalSortRequirement
s are equal or more
specific than the provided PhysicalSortRequirement
s.