-
Notifications
You must be signed in to change notification settings - Fork 761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
angles function not support NULL input like MySQL #2844
Comments
besides the type check in the casting a NULL array to a float64 array is legal in the arrow semantics, because all the array element in arrow are nullable but the arrow2 version we're using hasn't include the NULL casting logic yet, after cherry-picking this PR from arrow2 jorgecarleitao/arrow2#589 , this casting error could be suppressed. |
https://github.com/datafuse-extras/arrow2 has updated with the upstream |
Maybe all of the functions we should support DataType::Null ? |
I think so 🤔 , to keep th null semantics same as mysql |
angles function not support NULL input like MySQL #2844
Summary
databend:
MySQL:
How to reproduce
Additional context
https://github.com/datafuselabs/databend/blob/a4781bf3cff6286caf30200eddbe9f3648ad9e06/common/functions/src/scalars/maths/angle.rs#L66
angle function source code not support NULL input
The text was updated successfully, but these errors were encountered: