osipovartem commented on issue #6543:
URL: https://github.com/apache/datafusion/issues/6543#issuecomment-2943653445

   Here is the same issue
   
   ```sql
   CREATE TABLE test (col1 DATE,  col2 DATE);
   INSERT INTO test
     SELECT TO_DATE('2013-05-08T23:39:20.123'), 
TO_DATE('2013-05-08T23:39:20.123')
   ```
   ```rust
   Projections require unique expression names but the expression 
"to_date(Utf8("2013-05-08T23:39:20.123"))" at position 0 and 
"to_date(Utf8("2013-05-08T23:39:20.123"))" at position 1 have the same name. 
Consider aliasing ("AS") one of them.
   ```
   would it be correct to use statement visitors here to add unique aliases?


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to