GH-32570: [C++] Fix the issue of ExecBatchBuilder when appending consecutive tail rows with the same id may exceed buffer boundary#39234
Merged
ExecBatchBuilder when appending consecutive tail rows with the same id may exceed buffer boundary#39234