Jimexist opened a new issue #455: URL: https://github.com/apache/arrow-datafusion/issues/455
**Describe the bug** A clear and concise description of what the bug is. window function with alias is not properly rebased. select with alias will err **To Reproduce** Steps to reproduce the behavior: run ```sql select c1 c1, sum(c1) over () sum from test; ``` **Expected behavior** A clear and concise description of what you expected to happen. it shall not err **Additional context** Add any other context about the problem here. -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org