Zouxxyy commented on code in PR #9051: URL: https://github.com/apache/hudi/pull/9051#discussion_r1241887907
########## hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/spark/sql/hudi/command/AlterHoodieTableChangeColumnCommand.scala: ########## @@ -102,4 +104,8 @@ case class AlterHoodieTableChangeColumnCommand( ", origin table schema :" + tableSchema + ", base path :" + metaClient.getBasePath) } } + + // Add the comment to a column, if comment is empty, return the original column. + private def addComment(column: StructField, comment: Option[String]): StructField = Review Comment: > addComment -> columnWithComment I just copyed from spark https://github.com/apache/spark/blob/2f3e4e36017d16d67086fd4ecaf39636a2fb4b7c/sql/core/src/main/scala/org/apache/spark/sql/execution/command/ddl.scala#L363 -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org