rluvaton opened a new issue, #19260: URL: https://github.com/apache/datafusion/issues/19260
### Describe the bug all those mentioned UDFs return in the data_type the input data type, while reutnin `array_remove`: https://github.com/apache/datafusion/blob/2a08013af3ccf703bee202c959b40bb0d35bdea1/datafusion/functions-nested/src/remove.rs#L102-L104 `array_remove_n`: https://github.com/apache/datafusion/blob/2a08013af3ccf703bee202c959b40bb0d35bdea1/datafusion/functions-nested/src/remove.rs#L190-L192 `array_remove_all`: https://github.com/apache/datafusion/blob/2a08013af3ccf703bee202c959b40bb0d35bdea1/datafusion/functions-nested/src/remove.rs#L267-L269 while all using the same underlying function `general_remove` which always set the items to be nullable: https://github.com/apache/datafusion/blob/2a08013af3ccf703bee202c959b40bb0d35bdea1/datafusion/functions-nested/src/remove.rs#L413 ### To Reproduce _No response_ ### Expected behavior it should not change input nullability and should return nullable if the input list is nullable ### 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
