jkosh44 opened a new pull request, #14289:
URL: https://github.com/apache/datafusion/pull/14289

   This commit fixes the array_slice function so that if any arguments are 
NULL, the result is NULL. Previously, array_slice would return an internal 
error if any of the arguments were NULL. This behavior matches the behavior of 
DuckDB for array_slice.
   
   Fixes #10548
   
   ## Which issue does this PR close?
   
   Closes #10548.
   
   ## Are these changes tested?
   
   Yes
   
   ## Are there any user-facing changes?
   
   Yes, previously a user would be returned an error, now they are returned a 
NULL value for `array_slice` with NULL input.
   


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to