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

   ### Describe the bug
   
   thread 'main' panicked at datafusion/functions-array/src/extract.rs:255:39:
   index out of bounds: the len is 0 but the index is 0
   
   ### To Reproduce
   
   Run the query in CLI
   ```sh
   DataFusion CLI v38.0.0
   > select array_slice();
   
   thread 'main' panicked at datafusion/functions-array/src/extract.rs:255:39:
   index out of bounds: the len is 0 but the index is 0
   ```
   
   ### Expected behavior
   
   Return an error instead of 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to