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

   **Describe the bug**
   When I want to project column and the result of its type coercion, 
datafusion will throw error:
   ```sql
   ❯ select a, cast(a as Int) from test0;
   Plan("Projections require unique expression names but the expression 
\"test0.a\" at position 0 and \"CAST(test0.a AS Int32)\" at position 3 have the 
same name. Consider aliasing (\"AS\") one of them.")
   ```
   **To Reproduce**
   Run projection with expression and its cast-wrapped expression.
   
   **Expected behavior**
   
   **Additional context**
   


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