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

   ### Is your feature request related to a problem or challenge?
   
   Spark supports `explode` and `explode_outer`, which are very similar to 
DataFusion's existing `unnest` function.
   
   `explode_outer` treats nulls and empty arrays identically and produces an 
output row containing `null`. This differs from `unnest`, which only does this 
for null inputs and does not generate output for empty arrays.
   
   ### Describe the solution you'd like
   
   I propose adding a new flag to `unnest` to treat empty arrays consistently 
with null arrays.
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### 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