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 18:53:44 UTC

[arrow-rs] 01/02: Remove multiversion dependency (#3452)

This is an automated email from the ASF dual-hosted git repository.

tustvold pushed a commit to branch 30.0_maintenance
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git

commit 1423afd250634319f5a1f10b71d68f4ce306019c
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,