### Is your feature request related to a problem or challenge? Enhance the current RowAccumulators to support generics. https://github.com/apache/arrow-datafusion/pull/6003 ### Describe the solution you'd like _No response_ ### Describe alternatives you've considered _No response_ ### Additional context _No response_