datafusion
datafusion copied to clipboard
Minor: reuse the group key row buffer to avoid reallocation
Which issue does this PR close?
Closes #.
Rationale for this change
Find code comments while reading the new aggregation code and tries to fix it here.
What changes are included in this PR?
Use the RowConverter's new append API to reuse rows buffer.
Are these changes tested?
Existing tests.
Are there any user-facing changes?
No.
I guess we can do this once https://github.com/apache/arrow-rs/pull/4742 is released (probably in arrow 47, 🔜 )
Thank you for your contribution. Unfortunately, this pull request is stale because it has been open 60 days with no activity. Please remove the stale label or comment or this will be closed in 7 days.