monkeyboy123 commented on pull request #34872:
URL: https://github.com/apache/spark/pull/34872#issuecomment-992128518


   > ```scala
   > create table alias_b as select a, max(unix_timestamp(b)), 
max(unix_timestamp(b)) from alias group by a
   > ```
   
   error will throws, regardless `set 
spark.sql.schema.replace.alias.asColumn=true` or not ,like this:
   ```
   Error in query: Found duplicate column(s) in the table definition of 
`default`.`alias_b`: `max_unix_timestamp_b__yyyy-mm-dd_hh:mm:ss__`
   ```


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to