jackwener opened a new issue, #4174:
URL: https://github.com/apache/arrow-datafusion/issues/4174

   **Describe the bug**
   > It's from #4141 
   
   pushdown project rule don't handle alias. In fact, when handle projection 
with alias, we need replace the alias column in new_required_columns, but if we 
see the code of this rule, we can find that it didn't consider alias.
   
   For example:
   
   project c1 as c2
       tablescan c1.
   when we meet project c1 as c2, if new_required_columns include c2, we need 
replace it with c1.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   
   **Expected behavior**
   A clear and concise description of what you expected to happen.
   
   **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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to