voonhous commented on code in PR #20893:
URL: https://github.com/apache/hudi/pull/20893#discussion_r4695651238
##########
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:
**major:** `testPartialUpdateWithInserts` (L536) already has this exact
shape, but it pins `MERGE_SMALL_FILE_GROUP_CANDIDATES_LIMIT=0` (added with
partial updates in #9876), which is why the bug went unnoticed: with the
default limit its MOR body reads `[null,null,null,12,1001]` on master. Could we
drop that pin for the four MOR variants so the fix is covered across both log
formats and both ordering modes, and keep only the no-insert-clause arm here,
which is the genuinely new case?
--
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]