nsivabalan commented on code in PR #9261:
URL: https://github.com/apache/hudi/pull/9261#discussion_r1280012474


##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieSparkSqlWriter.scala:
##########
@@ -172,6 +172,9 @@ object HoodieSparkSqlWriter {
       operation = WriteOperationType.INSERT
     }
 
+    val sqlMergeIntoPrepped = 
parameters.getOrDefault(SPARK_SQL_MERGE_INTO_PREPPED_KEY, "false").toBoolean
+    val isPrepped = canDoPrepped(hoodieConfig, parameters, operation, df)

Review Comment:
   HoodieCreateRecordUtils.createHoodieRecordRdd has some diff logic depending 
on whether its isPrepped or sqlMergeIntoPrepped. thats why



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

Reply via email to