You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: datafusion/optimizer/src/analyzer/type_coercion.rs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1357,7 +1357,7 @@ mod test {
1357
1357
1358
1358
let err = Projection::try_new(vec![udaf], empty).err().unwrap();
1359
1359
assert!(
1360
-
err.strip_backtrace().starts_with("Error during planning: Error during planning: Coercion from [Utf8] to the signature Uniform(1, [Float64]) failed")
1360
+
err.strip_backtrace().starts_with("Error during planning: Error during planning: MY_AVG: coercion from [Utf8] to the signature Uniform(1, [Float64]) failed")
1361
1361
);
1362
1362
Ok(())
1363
1363
}
@@ -1407,7 +1407,7 @@ mod test {
1407
1407
.err()
1408
1408
.unwrap()
1409
1409
.strip_backtrace();
1410
-
assert!(err.starts_with("Error during planning: Error during planning: Coercion from [Utf8] to the signature Uniform(1, [Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Float32, Float64]) failed."));
1410
+
assert!(err.starts_with("Error during planning: Error during planning: avg: coercion from [Utf8] to the signature Uniform(1, [Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Float32, Float64]) failed."));
0 commit comments