xuanyuanking commented on a change in pull request #28326: URL: https://github.com/apache/spark/pull/28326#discussion_r416419173
########## File path: sql/core/src/main/scala/org/apache/spark/sql/Column.scala ########## @@ -1040,17 +1034,11 @@ class Column(val expr: Expression) extends Logging { * df.select($"colA".name("colB")) * }}} * - * If the current column has metadata associated with it, this metadata will be propagated - * to the new column. If this not desired, use `as` with explicitly empty metadata. Review comment: These comments added together with the changes we just reverted. But it's good to have clear comments, I'll rephrase and add them back in the follow-up. ---------------------------------------------------------------- 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. 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