monkeyboy123 edited a comment on pull request #34872: URL: https://github.com/apache/spark/pull/34872#issuecomment-992128518
@wangyum > ```scala > create table alias_b as select a, max(unix_timestamp(b)), max(unix_timestamp(b)) from alias group by a > ``` error will throws, with `set spark.sql.schema.replace.alias.asColumn=true` ,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__` ``` error will throws, with not `set spark.sql.schema.replace.alias.asColumn=true` ,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]
