Skip to content

Commit

Permalink
remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
liukun4515 committed Dec 18, 2021
1 parent 08890b3 commit 150d2b1
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions datafusion/src/physical_plan/expressions/cast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ mod tests {

#[test]
fn test_cast_numeric_to_decimal() -> Result<()> {

// int8
generic_test_cast!(
Int8Array,
Expand Down Expand Up @@ -345,22 +346,6 @@ mod tests {

#[test]
fn test_cast_i32_u32() -> Result<()> {
generic_test_cast!(
Int32Array,
DataType::Int32,
vec![1, 2, 3, 4, 5],
UInt32Array,
DataType::UInt32,
vec![
Some(1_u32),
Some(2_u32),
Some(3_u32),
Some(4_u32),
Some(5_u32)
],
DEFAULT_DATAFUSION_CAST_OPTIONS
);

generic_test_cast!(
Int32Array,
DataType::Int32,
Expand Down

0 comments on commit 150d2b1

Please sign in to comment.