### Describe the bug Found the issue when Comet tries to run a Spark query which sorts empty batch: https://github.com/apache/arrow-datafusion-comet/issues/270 ``` Arrow error: Invalid argument error: must either specify a row count or at least one column ``` ### To Reproduce _No response_ ### Expected behavior _No response_ ### Additional context _No response_
Describe the bug
Found the issue when Comet tries to run a Spark query which sorts empty batch: apache/datafusion-comet#270
To Reproduce
No response
Expected behavior
No response
Additional context
No response