You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2023/03/25 15:22:11 UTC

[arrow-datafusion] branch main updated: move and rename (#5736)

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

alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new 9e8d928724 move and rename (#5736)
9e8d928724 is described below

commit 9e8d9287242d7bec1d0527e551bf5c129364a20e
Author: Remzi Yang <59...@users.noreply.github.com>
AuthorDate: Sat Mar 25 23:22:05 2023 +0800

    move and rename (#5736)
    
    Signed-off-by: remzi <13...@gmail.com>
---
 .../expr/src/{type_coercion.rs => type_coercion/mod.rs}       | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/datafusion/expr/src/type_coercion.rs b/datafusion/expr/src/type_coercion/mod.rs
similarity index 99%
rename from datafusion/expr/src/type_coercion.rs
rename to datafusion/expr/src/type_coercion/mod.rs
index 740b10e285..73b4a1f93b 100644
--- a/datafusion/expr/src/type_coercion.rs
+++ b/datafusion/expr/src/type_coercion/mod.rs
@@ -31,8 +31,12 @@
 //! i64. However, i64 -> i32 is never performed as there are i64
 //! values which can not be represented by i32 values.
 
-use arrow::datatypes::DataType;
+pub mod aggregates;
+pub mod binary;
+pub mod functions;
+pub mod other;
 
+use arrow::datatypes::DataType;
 /// Determine whether the given data type `dt` represents unsigned numeric values.
 pub fn is_signed_numeric(dt: &DataType) -> bool {
     matches!(
@@ -81,8 +85,3 @@ pub fn is_date(dt: &DataType) -> bool {
 pub fn is_utf8_or_large_utf8(dt: &DataType) -> bool {
     matches!(dt, DataType::Utf8 | DataType::LargeUtf8)
 }
-
-pub mod aggregates;
-pub mod binary;
-pub mod functions;
-pub mod other;