Skip to content

Commit

Permalink
Make mod iszero public, minor ordering change to keep the alphabetica…
Browse files Browse the repository at this point in the history
…l ordering theme.
  • Loading branch information
Omega359 committed Apr 8, 2024
1 parent 83fdffc commit 5d693fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/functions/src/math/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ use std::sync::Arc;
pub mod abs;
pub mod cot;
pub mod gcd;
mod iszero;
pub mod iszero;
pub mod lcm;
pub mod log;
pub mod nans;
Expand All @@ -48,7 +48,6 @@ make_udf_function!(cot::CotFunc, COT, cot);
make_math_unary_udf!(DegreesFunc, DEGREES, degrees, to_degrees, None);
make_math_unary_udf!(FloorFunc, FLOOR, floor, floor, Some(vec![Some(true)]));
make_udf_function!(log::LogFunc, LOG, log);
make_udf_function!(power::PowerFunc, POWER, power);
make_udf_function!(gcd::GcdFunc, GCD, gcd);
make_udf_function!(nans::IsNanFunc, ISNAN, isnan);
make_udf_function!(iszero::IsZeroFunc, ISZERO, iszero);
Expand All @@ -57,6 +56,7 @@ make_math_unary_udf!(LnFunc, LN, ln, ln, Some(vec![Some(true)]));
make_math_unary_udf!(Log2Func, LOG2, log2, log2, Some(vec![Some(true)]));
make_math_unary_udf!(Log10Func, LOG10, log10, log10, Some(vec![Some(true)]));
make_udf_function!(pi::PiFunc, PI, pi);
make_udf_function!(power::PowerFunc, POWER, power);
make_math_unary_udf!(RadiansFunc, RADIANS, radians, to_radians, None);
make_udf_function!(round::RoundFunc, ROUND, round);
make_math_unary_udf!(SignumFunc, SIGNUM, signum, signum, None);
Expand Down

0 comments on commit 5d693fa

Please sign in to comment.