yihua commented on code in PR #20893:
URL: https://github.com/apache/hudi/pull/20893#discussion_r4702875209


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/table/action/deltacommit/SparkUpsertDeltaCommitPartitioner.java:
##########
@@ -101,6 +102,13 @@ private List<FileSlice> getSmallFileCandidates(String 
partitionPath, HoodieInsta
       return Collections.emptyList();
     }
 
+    // The merge that packs inserts into a small base file takes every record 
of its file group, and would take

Review Comment:
   Confirmed, and the bucket index has it even without an insert clause. 
Turning partial updates off would null the unassigned columns on MOR, so I 
narrowed the Impact section and will track it in a separate issue.



##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/spark/sql/hudi/dml/others/TestPartialUpdateForMergeInto.scala:
##########
@@ -207,6 +207,36 @@ class TestPartialUpdateForMergeInto extends 
HoodieSparkSqlTestBase {
     }
   }
 
+  Seq(true, false).foreach { partitioned =>
+    test("Test partial update next to a source record without a match on a "

Review Comment:
   Done, dropped the pin and kept only the arm without an insert clause here.



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