### Describe the bug Following error `concat requires input of at least one array` when an empty input is passed to `array_distinct`. Same behavior as in https://github.com/apache/datafusion/issues/10772 ### To Reproduce _No response_ ### Expected behavior _No response_ ### Additional context _No response_