HappenLee opened a new issue, #65356: URL: https://github.com/apache/doris/issues/65356
## Description `ARRAY_UNION` fails on the backend when the left argument is an empty array and the right argument contains nested arrays. The expression reaches the BE and then reports an error like `Unexpected columns`. ## Original Jira DORIS-26653: http://jira.selectdb-in.cc/browse/DORIS-26653 ## Discussion Summary - The issue occurs when `ARRAY_UNION` is used with an empty left array and a nested-array right input. - Related functions already support nested arrays; for example, `array_distinct(array_concat([[[1], [2]]], ...))` returns nested arrays. - Extending the BE implementation of `ARRAY_UNION` to properly handle nested-array inputs is preferable to adding FE-side restrictions. ## Expected Behavior `ARRAY_UNION` should either return a clean result for nested-array inputs or be rejected cleanly at the FE/BE boundary if unsupported. The current failure happens inside the BE, which is not user-friendly. -- 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]
