Skip to content

Commit b022f1e

Browse files
committed
Remove test
1 parent 8c7b4bd commit b022f1e

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

datafusion/functions-nested/src/array_has.rs

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -790,29 +790,4 @@ mod tests {
790790

791791
Ok(())
792792
}
793-
794-
#[test]
795-
fn test_simplify_array_has_with_null_haystack() {
796-
let haystack = ListArray::new_null(
797-
Arc::new(Field::new_list_field(DataType::Int32, true)),
798-
1,
799-
);
800-
let haystack = lit(ScalarValue::List(Arc::new(haystack)));
801-
let needle = col("c");
802-
803-
let props = ExecutionProps::new();
804-
let context = datafusion_expr::simplify::SimplifyContext::new(&props);
805-
806-
let expr = match ArrayHas::new()
807-
.simplify(vec![haystack.clone(), needle.clone()], &context)
808-
.unwrap()
809-
{
810-
ExprSimplifyResult::Simplified(expr) => expr,
811-
ExprSimplifyResult::Original(_) => {
812-
panic!("expected simplified result, not original")
813-
}
814-
};
815-
816-
assert_eq!(expr, in_list(col("c"), vec![], false));
817-
}
818793
}

0 commit comments

Comments
 (0)