pepijnve commented on issue #16459:
URL: https://github.com/apache/datafusion/issues/16459#issuecomment-2991278170

   Stepping through this with the debugger, it seems like a string view vector 
containing a `null` array is treated as a vector of length `0` (or at least 
`is_empty() == true`) which causes the early exit at 
https://github.com/apache/datafusion/blob/main/datafusion/functions-nested/src/array_has.rs#L334
 to be used. The non-string view vector containing a single null correctly 
states it has size 1 and the code further down is used. 


-- 
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