danny0405 commented on code in PR #10826:
URL: https://github.com/apache/hudi/pull/10826#discussion_r1513954128
##########
hudi-spark-datasource/hudi-spark/src/main/scala/org/apache/spark/sql/hudi/command/MergeIntoHoodieTableCommand.scala:
##########
@@ -346,12 +346,14 @@ case class MergeIntoHoodieTableCommand(mergeInto:
MergeIntoTable) extends Hoodie
Project(incomingDataCols, joinData)
}
- val projectedJoinOutput = projectedJoinPlan.output
+ val optimizer = sparkSession.sessionState.optimizer
+ val projectedJoinOptimizerPlan = optimizer.execute(projectedJoinPlan)
+ val projectedJoinOptimizerOutput = projectedJoinOptimizerPlan.output
Review Comment:
So the `optimizer.execute` is the critical step to fix the case
sensitiveness.
--
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]