milevin opened a new issue, #5695:
URL: https://github.com/apache/arrow-datafusion/issues/5695
### Describe the bug
This doesn't work but should:
```
DataFusion CLI v20.0.0
❯ create table temp as with orders as (
select 1 as o_custkey
)
SELECT RANK() OVER (PARTITION BY o_custkey)
FROM orders;
Error during planning: Mismatch between schema and batches
```
### To Reproduce
See above
### Expected behavior
This should not throw the mismatch error
### 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]