Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Weijun-H committed Jan 29, 2024
1 parent ffb9154 commit 24bc9ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datafusion/optimizer/src/analyzer/type_coercion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ mod test {
.err()
.unwrap();
assert_eq!(
"type_coercion\ncaused by\nError during planning: Coercion from [Utf8] to the signature Uniform(1, [Float32]) failed.",
"type_coercion\ncaused by\nError during planning: No function matches the given name and argument types 'TestScalarUDF(Utf8)'. You might need to add explicit type casts.\n\tCandidate functions:\n\tTestScalarUDF(Float32)",
err.strip_backtrace()
);
Ok(())
Expand Down Expand Up @@ -938,7 +938,7 @@ mod test {
.err()
.unwrap();
assert_eq!(
"type_coercion\ncaused by\nError during planning: Coercion from [Utf8] to the signature Uniform(1, [Float64]) failed.",
"type_coercion\ncaused by\nError during planning: No function matches the given name and argument types 'MY_AVG(Utf8)'. You might need to add explicit type casts.\n\tCandidate functions:\n\tMY_AVG(Float64)",
err.strip_backtrace()
);
Ok(())
Expand Down

0 comments on commit 24bc9ea

Please sign in to comment.