jonahgao opened a new issue, #9499:
URL: https://github.com/apache/arrow-datafusion/issues/9499

   ### Describe the bug
   
   These functions will panic when the parameters are boundary values such as 
`i64::MIN` and `i64::MAX`.
   
   ### To Reproduce
   
   ```sh
   DataFusion CLI v36.0.0
   ❯ select range(1, -1, -9223372036854775808);
   thread 'main' panicked at datafusion/functions-array/src/kernels.rs:304:63:
   attempt to negate with overflow
   ```
   
   ```sh
   ❯ select generate_series(9223372036854775807);
   thread 'main' panicked at datafusion/functions-array/src/kernels.rs:307:13:
   attempt to add with overflow
   ```
   
   
   
   ### Expected behavior
   
   Avoid panic.
   
   ### 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]

Reply via email to