Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mertak-synnada committed Jan 24, 2025
1 parent 6cf9644 commit 072e6ef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions datafusion/expr/src/udaf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -660,10 +660,6 @@ pub trait AggregateUDFImpl: Debug + Send + Sync {
/// function is monotonically increasing if its value increases as its argument grows
/// (as a set). Formally, `f` is a monotonically increasing set function if `f(S) >= f(T)`
/// whenever `S` is a superset of `T`.
///
/// Returns None if the function is not monotonic.
/// If the function is monotonically decreasing returns Some(false) e.g. Min
/// If the function is monotonically increasing returns Some(true) e.g. Max
fn monotonicity(&self, _data_type: &DataType) -> AggregateExprMonotonicity {
AggregateExprMonotonicity::NotMonotonic
}
Expand Down
4 changes: 0 additions & 4 deletions datafusion/physical-expr/src/aggregate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,10 +541,6 @@ impl AggregateFunctionExpr {
/// function is monotonically increasing if its value increases as its argument grows
/// (as a set). Formally, `f` is a monotonically increasing set function if `f(S) >= f(T)`
/// whenever `S` is a superset of `T`.
///
/// Returns None if the function is not monotonic.
/// If the function is monotonically decreasing returns Some(false) e.g. Min
/// If the function is monotonically increasing returns Some(true) e.g. Max
pub fn monotonicity(&self) -> AggregateExprMonotonicity {
let field = self.field();
let data_type = field.data_type();
Expand Down

0 comments on commit 072e6ef

Please sign in to comment.