vincev opened a new pull request, #7300:
URL: https://github.com/apache/arrow-datafusion/pull/7300

   ## Which issue does this PR close?
   
   Closes #7299.
   
   ## Rationale for this change
   
   When unnesting a list array created by `array_agg` aggregation fails with 
error:
   
   ```
   ArrowError(ComputeError("concat requires input of at least one array"))
   ```
   
   This PR adds code to prevent `concat` from being called with an empty array 
during unnesting.
   
   ## What changes are included in this PR?
   
   This PR adds code to prevent `concat` from being called with an empty array 
during unnesting.
   
   This PR also removes the `list_lengths` workaround fixed in  [arrow 
#4517](https://github.com/apache/arrow-rs/issues/4517).
   
   ## Are these changes tested?
   
   Yes added a test for the failing scenario.
   
   
   ## Are there any user-facing changes?
   
   No


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

Reply via email to