KnightChess commented on code in PR #6589:
URL: https://github.com/apache/hudi/pull/6589#discussion_r963390648
##########
hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/analysis/HoodieAnalysis.scala:
##########
@@ -282,13 +282,21 @@ case class HoodieResolveReferences(sparkSession:
SparkSession) extends Rule[Logi
// the hoodie's meta field in sql statement, it is a system field,
cannot set the value
// by user.
if (HoodieSparkUtils.isSpark3) {
- val assignmentFieldNames = assignments.map(_.key).map {
+ val resolvedAssignments = assignments.map { assign =>
Review Comment:
code in line 273 has consider the `empty`. In `HoodieInternalV2Table`,the
attribute capabilities contain `ACCEPT_ANY_SCHEMA` which will skip resolve
expression in spark side.

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