lokeshj1703 commented on code in PR #18968:
URL: https://github.com/apache/hudi/pull/18968#discussion_r3401629725
##########
hudi-spark-datasource/hudi-spark/src/test/java/org/apache/hudi/functional/TestSparkConsistentBucketClustering.java:
##########
@@ -162,6 +175,41 @@ public void testResizing(boolean isSplit, boolean
rowWriterEnable, boolean singl
});
}
+ /**
+ * Test bucket resizing (split / merge) on a non-partitioned table, covering
both the single-job and
+ * multi-job execution strategies. See HUDI-18161 / issue #18161: consistent
hashing clustering used to
+ * fail on non-partitioned tables because the empty partition path was
rejected by the execution strategy.
+ *
+ * @throws IOException
+ */
+ @ParameterizedTest
+ @MethodSource("configParams")
+ public void testResizingNonPartitioned(boolean isSplit, boolean
rowWriterEnable, boolean single) throws IOException {
Review Comment:
We can merge this function with testResizing and add another parameter for
non partitioned since the test is same in both the functions.
--
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]