Skip to content

Commit

Permalink
fix: drop unused numpy code since pyo3 rustpython do not support any …
Browse files Browse the repository at this point in the history
…more (#5442)

Signed-off-by: yihong0618 <[email protected]>
  • Loading branch information
yihong0618 authored Jan 24, 2025
1 parent b107384 commit bbfbc9f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 691 deletions.
2 changes: 0 additions & 2 deletions src/common/function/src/function_registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ use crate::scalars::expression::ExpressionFunction;
use crate::scalars::json::JsonFunction;
use crate::scalars::matches::MatchesFunction;
use crate::scalars::math::MathFunction;
use crate::scalars::numpy::NumpyFunction;
use crate::scalars::timestamp::TimestampFunction;
use crate::scalars::vector::VectorFunction;
use crate::system::SystemFunction;
Expand Down Expand Up @@ -103,7 +102,6 @@ pub static FUNCTION_REGISTRY: Lazy<Arc<FunctionRegistry>> = Lazy::new(|| {

// Utility functions
MathFunction::register(&function_registry);
NumpyFunction::register(&function_registry);
TimestampFunction::register(&function_registry);
DateFunction::register(&function_registry);
ExpressionFunction::register(&function_registry);
Expand Down
1 change: 0 additions & 1 deletion src/common/function/src/scalars.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ pub mod geo;
pub mod json;
pub mod matches;
pub mod math;
pub mod numpy;
pub mod vector;

#[cfg(test)]
Expand Down
30 changes: 0 additions & 30 deletions src/common/function/src/scalars/numpy.rs

This file was deleted.

298 changes: 0 additions & 298 deletions src/common/function/src/scalars/numpy/clip.rs

This file was deleted.

Loading

0 comments on commit bbfbc9f

Please sign in to comment.