hsiang-c opened a new issue, #5239:
URL: https://github.com/apache/datafusion-comet/issues/5239

   ### Describe the bug
   
   Native `collect_set` / `collect_list` over a struct with a non-nullable 
nested field aborts in `GroupedHashAggregateStream::emit` during spill:
   
   ```shell
   ArrowError: column types must match schema types,
     expected List(Struct("isChurnedWholeRoute": Boolean, ...))
     but found  List(Struct("isChurnedWholeRoute": non-null Boolean, ...))  at 
column index 1
   ```
   
   Call Stack: GroupedHashAggregateStream::emit (row_hash.rs:1134) ← spill ← 
try_update_memory_reservation. Fires only on the spill path.
   
   Dependencies versions: DataFusion 54.1.0 / arrow 58.4.0.
   
   ### Steps to reproduce
   
   _No response_
   
   ### Expected behavior
   
   _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