jonvex commented on code in PR #9083: URL: https://github.com/apache/hudi/pull/9083#discussion_r1251341306
########## hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/analysis/HoodieAnalysis.scala: ########## @@ -43,23 +43,29 @@ object HoodieAnalysis extends SparkAdapterSupport { val rules: ListBuffer[RuleBuilder] = ListBuffer() // NOTE: This rule adjusts [[LogicalRelation]]s resolving into Hudi tables such that - // meta-fields are not affecting the resolution of the target columns to be updated by Spark. + // meta-fields are not affecting the resolution of the target columns to be updated by Spark (Except in the + // case of MergeInto. We leave the meta columns on the target table, and use other means to ensure resolution) Review Comment: It makes aligning the schema more difficult so it could be done in a followup -- 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