You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by tu...@apache.org on 2023/01/04 15:48:51 UTC
[arrow-rs] branch master updated: Remove multiversion dependency (#3452)
This is an automated email from the ASF dual-hosted git repository.
tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push:
new ec2fd4704 Remove multiversion dependency (#3452)
ec2fd4704 is described below
commit ec2fd47046d341b41b9d2416f0c23b8d2e25008d
Author: Raphael Taylor-Davies <17...@users.noreply.github.com>
AuthorDate: Wed Jan 4 15:48:45 2023 +0000
Remove multiversion dependency (#3452)
---
arrow-arith/Cargo.toml | 1 -
arrow-arith/src/aggregate.rs | 3 ---
2 files changed, 4 deletions(-)
diff --git a/arrow-arith/Cargo.toml b/arrow-arith/Cargo.toml
index 32c2043cd..0da34ea15 100644
--- a/arrow-arith/Cargo.toml
+++ b/arrow-arith/Cargo.toml
@@ -44,7 +44,6 @@ arrow-data = { version = "30.0.0", path = "../arrow-data" }
arrow-schema = { version = "30.0.0", path = "../arrow-schema" }
chrono = { version = "0.4.23", default-features = false }
half = { version = "2.1", default-features = false }
-multiversion = { version = "0.7.1", default-features = false }
num = { version = "0.4", default-features = false, features = ["std"] }
[dev-dependencies]
diff --git a/arrow-arith/src/aggregate.rs b/arrow-arith/src/aggregate.rs
index dc3d70bb2..a1cf8d849 100644
--- a/arrow-arith/src/aggregate.rs
+++ b/arrow-arith/src/aggregate.rs
@@ -17,8 +17,6 @@
//! Defines aggregations over Arrow arrays.
-use multiversion::multiversion;
-
use arrow_array::cast::*;
use arrow_array::iterator::ArrayIter;
use arrow_array::*;
@@ -104,7 +102,6 @@ pub fn max_boolean(array: &BooleanArray) -> Option<bool> {
}
/// Helper to compute min/max of [`ArrayAccessor`].
-#[multiversion(targets("x86_64+avx"))]
fn min_max_helper<T, A: ArrayAccessor<Item = T>, F>(array: A, cmp: F) -> Option<T>
where
F: Fn(&T, &T) -> bool,