Skip to content

Commit b90aa8f

Browse files
committed
Adapt imports for float functions
1 parent 70d403d commit b90aa8f

File tree

1 file changed

+2
-5
lines changed
  • core/src/execution/datafusion/expressions

1 file changed

+2
-5
lines changed

core/src/execution/datafusion/expressions/cast.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,9 @@ use arrow::{
3030
util::display::FormatOptions,
3131
};
3232
use arrow_array::{
33-
<<<<<<< HEAD
3433
types::{Int16Type, Int32Type, Int64Type, Int8Type},
35-
Array, ArrayRef, BooleanArray, GenericStringArray, OffsetSizeTrait, PrimitiveArray, Float64Array,
36-
=======
3734
Array, ArrayRef, BooleanArray, Float32Array, Float64Array, GenericStringArray, OffsetSizeTrait,
38-
>>>>>>> 334bf0c (Add macro to handle both float types)
35+
PrimitiveArray,
3936
};
4037
use arrow_schema::{DataType, Schema};
4138
use chrono::{TimeZone, Timelike};
@@ -266,7 +263,7 @@ impl Cast {
266263
}
267264
(DataType::Float32, DataType::LargeUtf8) => {
268265
Self::spark_cast_float32_to_utf8::<i64>(&array, self.eval_mode)?
269-
}
266+
}
270267
_ => {
271268
// when we have no Spark-specific casting we delegate to DataFusion
272269
cast_with_options(&array, to_type, &CAST_OPTIONS)?

0 commit comments

Comments
 (0)