kazuyukitanimura opened a new issue, #5701: URL: https://github.com/apache/arrow-datafusion/issues/5701
### Describe the bug This is similar to https://github.com/apache/arrow-datafusion/issues/4911 Executing LocalLimitExec with no column will return an Err ArrowError(InvalidArgumentError("must either specify a row count or at least one column")). ### To Reproduce It may not be hitting this error from SQL query directly. For some query optimization might create projection with no column. I got this error when converting optimized query from other query engine to DataFusion. ### Expected behavior _No response_ ### Additional context _No response_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
