Dandandan opened a new issue, #22219: URL: https://github.com/apache/datafusion/issues/22219
### Describe the bug `array_repeat` can panic for list inputs when `len * count` overflows while calculating the repeated inner value count. ### To Reproduce ```sql SELECT array_repeat([1,2,3], 9223372036854775807); ``` ### Actual behavior ```text thread 'main' panicked at datafusion/functions-nested/src/repeat.rs:245:32: attempt to multiply with overflow ``` ### Expected behavior Return an execution error for an output-size overflow instead of panicking. -- 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]
