geserdugarov commented on code in PR #11216:
URL: https://github.com/apache/hudi/pull/11216#discussion_r1601305390


##########
hudi-spark-datasource/hudi-spark-common/src/main/scala/org/apache/hudi/HoodieSparkSqlWriter.scala:
##########
@@ -470,7 +470,7 @@ class HoodieSparkSqlWriterInternal {
 
             // Short-circuit if bulk_insert via row is enabled.
             // scalastyle:off
-            if (hoodieConfig.getBoolean(ENABLE_ROW_WRITER) && operation == 
WriteOperationType.BULK_INSERT) {
+            if (hoodieConfig.getBoolean(ENABLE_ROW_WRITER) && operation == 
WriteOperationType.BULK_INSERT && 
!hoodieConfig.getBooleanOrDefault(HoodieWriteConfig.COMBINE_BEFORE_INSERT)) {

Review Comment:
   Reverted this change, and resolved issue by disabling row writer if the 
operation is `BULK_INSERT`, `hoodie.populate.meta.fields` is false, and 
`hoodie.combine.before.insert`.



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