You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ks...@apache.org on 2019/04/04 09:28:40 UTC

[arrow] branch master updated: ARROW-5116: [Rust] move kernel related files under compute/kernels

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

kszucs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new 7a93316  ARROW-5116: [Rust] move kernel related files under compute/kernels
7a93316 is described below

commit 7a9331689fdffcfead2e5f6be664f1676d489548
Author: Chao Sun <su...@apache.org>
AuthorDate: Thu Apr 4 11:28:31 2019 +0200

    ARROW-5116: [Rust] move kernel related files under compute/kernels
    
    Author: Chao Sun <su...@apache.org>
    
    Closes #4108 from sunchao/ARROW-5116 and squashes the following commits:
    
    ca3584f00 <Chao Sun> ARROW-5116:  move kernel related files under compute/kernels
---
 .../src/compute/{arithmetic_kernels.rs => kernels/arithmetic.rs} | 0
 .../arrow/src/compute/{boolean_kernels.rs => kernels/boolean.rs} | 0
 .../src/compute/{comparison_kernels.rs => kernels/comparison.rs} | 0
 rust/arrow/src/compute/kernels/mod.rs                            | 3 +++
 rust/arrow/src/compute/mod.rs                                    | 9 +++------
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/rust/arrow/src/compute/arithmetic_kernels.rs b/rust/arrow/src/compute/kernels/arithmetic.rs
similarity index 100%
rename from rust/arrow/src/compute/arithmetic_kernels.rs
rename to rust/arrow/src/compute/kernels/arithmetic.rs
diff --git a/rust/arrow/src/compute/boolean_kernels.rs b/rust/arrow/src/compute/kernels/boolean.rs
similarity index 100%
rename from rust/arrow/src/compute/boolean_kernels.rs
rename to rust/arrow/src/compute/kernels/boolean.rs
diff --git a/rust/arrow/src/compute/comparison_kernels.rs b/rust/arrow/src/compute/kernels/comparison.rs
similarity index 100%
rename from rust/arrow/src/compute/comparison_kernels.rs
rename to rust/arrow/src/compute/kernels/comparison.rs
diff --git a/rust/arrow/src/compute/kernels/mod.rs b/rust/arrow/src/compute/kernels/mod.rs
index 3785f5a..2483f51 100644
--- a/rust/arrow/src/compute/kernels/mod.rs
+++ b/rust/arrow/src/compute/kernels/mod.rs
@@ -17,5 +17,8 @@
 
 //! Computation kernels on Arrow Arrays
 
+pub mod arithmetic;
+pub mod boolean;
 pub mod cast;
+pub mod comparison;
 pub mod temporal;
diff --git a/rust/arrow/src/compute/mod.rs b/rust/arrow/src/compute/mod.rs
index 982c0b3..7e31c52 100644
--- a/rust/arrow/src/compute/mod.rs
+++ b/rust/arrow/src/compute/mod.rs
@@ -17,17 +17,14 @@
 
 //! Computation kernels on Arrow Arrays
 
-pub mod arithmetic_kernels;
 pub mod array_ops;
-pub mod boolean_kernels;
-pub mod comparison_kernels;
 pub mod kernels;
 
 mod util;
 
-pub use self::arithmetic_kernels::*;
 pub use self::array_ops::*;
-pub use self::boolean_kernels::*;
-pub use self::comparison_kernels::*;
+pub use self::kernels::arithmetic::*;
+pub use self::kernels::boolean::*;
 pub use self::kernels::cast::*;
+pub use self::kernels::comparison::*;
 pub use self::kernels::temporal::*;