sarutak opened a new issue, #7310:
URL: https://github.com/apache/arrow-datafusion/issues/7310
### Describe the bug
I added `nanvl` in #7171 but some followup tasks needed.
One is adding an entry to the function list table in
`user-guide/expressions.md` for `nanvl`.
Another is modifying the error message in tests newly added to
`math_expressions.rs`.
```
--- a/datafusion/physical-expr/src/math_expressions.rs
+++ b/datafusion/physical-expr/src/math_expressions.rs
@@ -1057,9 +1057,9 @@ mod tests {
Arc::new(Float64Array::from(vec![5.0, 6.0, f64::NAN,
f64::NAN])), // x
];
- let result = nanvl(&args).expect("failed to initialize function
atan2");
+ let result = nanvl(&args).expect("failed to initialize function
nanvl");
let floats =
- as_float64_array(&result).expect("failed to initialize function
atan2");
+ as_float64_array(&result).expect("failed to initialize function
nanvl");
assert_eq!(floats.len(), 4);
assert_eq!(floats.value(0), 1.0);
@@ -1075,9 +1075,9 @@ mod tests {
Arc::new(Float32Array::from(vec![5.0, 6.0, f32::NAN,
f32::NAN])), // x
];
- let result = nanvl(&args).expect("failed to initialize function
atan2");
+ let result = nanvl(&args).expect("failed to initialize function
nanvl");
let floats =
- as_float32_array(&result).expect("failed to initialize function
atan2");
+ as_float32_array(&result).expect("failed to initialize function
nanvl");
```
### To Reproduce
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]