Describe the bug
Found this running some SQL benchmarks
DataFusionError(Internal("The size of the sorted batch is larger than the size of the input batch: 2120 > 2312"))
The error is also confusing .. 2120 is not larger than 2312
To Reproduce
tbd
Expected behavior
This should not happen
Additional context
Found this running some SQL benchmarks