Skip to content

Commit 1b87caa

Browse files
committed
remove failing test for string / float coercion
1 parent 2262f99 commit 1b87caa

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

  • datafusion/expr-common/src/type_coercion/binary/tests

datafusion/expr-common/src/type_coercion/binary/tests/arithmetic.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,6 @@
1818
use super::*;
1919
use datafusion_common::assert_contains;
2020

21-
#[test]
22-
fn test_coercion_error() -> Result<()> {
23-
let coercer =
24-
BinaryTypeCoercer::new(&DataType::Float32, &Operator::Plus, &DataType::Utf8);
25-
let result_type = coercer.get_input_types();
26-
27-
let e = result_type.unwrap_err();
28-
assert_eq!(
29-
e.strip_backtrace(),
30-
"Error during planning: Cannot coerce arithmetic expression Float32 + Utf8 to valid types"
31-
);
32-
Ok(())
33-
}
34-
3521
#[test]
3622
fn test_date_timestamp_arithmetic_error() -> Result<()> {
3723
let (lhs, rhs) = BinaryTypeCoercer::new(

0 commit comments

Comments
 (0)