saadtajwar opened a new pull request, #24040:
URL: https://github.com/apache/datafusion/pull/24040

   ## Which issue does this PR close?
   
   - Closes #23996
   
   ## Rationale for this change
   
   Making the `rows_to_array` method in`RowsGroupColumn` behavior of expecting 
a singular field explicit, as before it used a generic vector operation of 
`swap_remove(0)` and a `debug_assert_eq!` for ensuring that there was only a 
single field extracted
   
   ## What changes are included in this PR?
   
   Changed the `debug_assert_eq!` to the non-debug macro with a clear error 
message & changing the `swap_remove(0)` to a `pop` with `unwrap` now that we 
are guaranteeing the invariant
   
   ## Are these changes tested?
   
   Yes
   
   ## 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to