Skip to content

Commit

Permalink
fix err msg
Browse files Browse the repository at this point in the history
Signed-off-by: jayzhan211 <[email protected]>
  • Loading branch information
jayzhan211 committed May 26, 2024
1 parent f6d37bf commit 921dc00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions datafusion/optimizer/src/analyzer/type_coercion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -994,9 +994,8 @@ mod test {
));

let err = Projection::try_new(vec![udaf], empty).err().unwrap();

assert!(
err.strip_backtrace().starts_with("Error during planning: Error during planning: [data_types_with_aggregate_udf] Coercion from [Utf8] to the signature Uniform(1, [Float64]) failed")
err.strip_backtrace().starts_with("Error during planning: Error during planning: Coercion from [Utf8] to the signature Uniform(1, [Float64]) failed")
);
Ok(())
}
Expand Down

0 comments on commit 921dc00

Please sign in to comment.