Function datafusion_physical_expr_common::aggregate::utils::down_cast_any_ref
source ยท pub fn down_cast_any_ref(any: &dyn Any) -> &dyn AnyExpand description
Downcast a Box<dyn AggregateExpr> or Arc<dyn AggregateExpr>
and return the inner trait object as Any so
that it can be downcast to a specific implementation.
This method is used when implementing the PartialEq<dyn Any>
for AggregateExpr aggregation expressions and allows comparing the equality
between the trait objects.