Yicong-Huang opened a new pull request, #53328:
URL: https://github.com/apache/spark/pull/53328

   ### What changes were proposed in this pull request?
   This PR consolidates `ArrowStreamAggArrowIterUDFSerializer` with 
`ArrowStreamAggArrowUDFSerializer`.
   
   ### Why are the changes needed?
   When the iterator API was added for Arrow grouped aggregation UDFs, a new 
`ArrowStreamAggArrowIterUDFSerializer` class was created. However, this class 
is nearly identical to `ArrowStreamAggArrowUDFSerializer`, differing only in 
whether batches are processed lazily (iterator mode) or all at once (regular 
mode). By consolidating these two classes, we reduce code duplication and 
maintain consistency with similar serializer consolidations.
   
   ### Does this PR introduce _any_ user-facing change?
   No, this is an internal refactoring that maintains backward compatibility. 
The API behavior remains the same from the user's perspective.
   
   ### How was this patch tested?
   Existing Tests
   
   ### Was this patch authored or co-authored using generative AI tooling?
   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