srielau commented on PR #38685:
URL: https://github.com/apache/spark/pull/38685#issuecomment-1321188144

   I've some doubts about COLUMN_ALREADY_EXISTS when a column is duplicated 
within a new list.
   I.e. it makes a lot of sense for ALTER TABLE ADD COLUMN.
   But is COLUMN_ALREADY_EXISTS the best choice for CREATE TABLE or WITH  
cte(c1, c1) AS?
   How about AS T(c1, c1)
   
   I think we would like DUPLICATE_COLUMN_NAME for these case and also include 
the table name.
     


-- 
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: reviews-unsubscr...@spark.apache.org

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


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

Reply via email to