bjchambers commented on code in PR #23775:
URL: https://github.com/apache/datafusion/pull/23775#discussion_r3635185540
##########
datafusion/functions-nested/src/extract.rs:
##########
@@ -1236,6 +1244,47 @@ mod tests {
Ok(())
}
+ // An empty (length-0) list element that is not null must yield NULL, not
+ // the next element's value.
+ #[test]
+ fn test_array_any_value_empty_list_element() -> Result<()> {
Review Comment:
I think they cover similar cases. The only difference (which may be worth
keeping) is that these control the null layout more explicitly, while the SLT
relies on `cast(make_array() as bigint[])` to make the empty array. Thoughts on
if that is a good reason to keep them?
--
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]