Skip to content

Commit

Permalink
Fix isFinite udf
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Feb 24, 2024
1 parent e8acd9d commit 46b5066
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vegafusion-datafusion-udfs/src/udfs/math/isfinite.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
use datafusion_physical_expr::udf::ScalarUDF;
use std::any::Any;
use std::sync::Arc;
use vegafusion_common::arrow::array::{BooleanArray, Float32Array, Float64Array};
Expand Down Expand Up @@ -76,3 +77,7 @@ impl ScalarUDFImpl for IsFiniteUDF {
}
}
}

lazy_static! {
pub static ref ISFINITE_UDF: ScalarUDF = ScalarUDF::from(IsFiniteUDF::new());
}

0 comments on commit 46b5066

Please sign in to comment.