bhanreddy1973 commented on issue #19053:
URL: https://github.com/apache/datafusion/issues/19053#issuecomment-3700121955

   Hi @andygrove,
   
   I'd like to work on this issue.
   
   I understand the problem: `explode_outer` should treat empty arrays `[]` the 
same as `NULL` arrays - both should produce a row with `NULL` value, unlike the 
current `unnest` behavior which skips empty arrays.
   
   Before I start implementing, I have a question about the approach:
   
   1. **Option A**: Add a new flag like `preserve_empty_as_null` to the 
existing `unnest` function
   2. **Option B**: Create a separate `explode_outer` function for Spark 
compatibility
   
   Which approach would you prefer?
   
   I'll start exploring the codebase and familiarizing myself with the `unnest` 
implementation in the meantime.
   
   Thanks!


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