Skip to content

Commit 150d2b1

Browse files
committed
remove useless code
1 parent 08890b3 commit 150d2b1

File tree

1 file changed

+1
-16
lines changed
  • datafusion/src/physical_plan/expressions

1 file changed

+1
-16
lines changed

datafusion/src/physical_plan/expressions/cast.rs

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ mod tests {
222222

223223
#[test]
224224
fn test_cast_numeric_to_decimal() -> Result<()> {
225+
225226
// int8
226227
generic_test_cast!(
227228
Int8Array,
@@ -345,22 +346,6 @@ mod tests {
345346

346347
#[test]
347348
fn test_cast_i32_u32() -> Result<()> {
348-
generic_test_cast!(
349-
Int32Array,
350-
DataType::Int32,
351-
vec![1, 2, 3, 4, 5],
352-
UInt32Array,
353-
DataType::UInt32,
354-
vec![
355-
Some(1_u32),
356-
Some(2_u32),
357-
Some(3_u32),
358-
Some(4_u32),
359-
Some(5_u32)
360-
],
361-
DEFAULT_DATAFUSION_CAST_OPTIONS
362-
);
363-
364349
generic_test_cast!(
365350
Int32Array,
366351
DataType::Int32,

0 commit comments

Comments
 (0)