viirya commented on PR #8419:
URL: 
https://github.com/apache/arrow-datafusion/pull/8419#issuecomment-1843657038

   > ❯ select rank() over (order by 1)  from (select 1 a union all select 2 a) 
q;
   > Arrow error: Invalid argument error: number of columns(2) must match 
number of fields(1) in schema
   > ```
   > 
   > Now it fails, before the fix it worked but gave a wrong answer
   
   Yea, currently you cannot have only window function without the column that 
has been "window", as I already added a few tests there. I plan to address them 
one by one.


-- 
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]

Reply via email to