comphead commented on issue #5695:
URL:
https://github.com/apache/arrow-datafusion/issues/5695#issuecomment-1480252635
as a workarounds you may want to use
```
❯ create table temp1 as with orders as (
select 1 as o_custkey
)
SELECT 0+RANK() OVER (PARTITION BY o_custkey)
FROM orders;
0 rows in set. Query took 0.008 seconds.
```
--
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]