lokeshj1703 commented on code in PR #12948:
URL: https://github.com/apache/hudi/pull/12948#discussion_r1998375776
##########
hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/client/functional/TestHoodieBackedTableMetadata.java:
##########
@@ -101,10 +102,15 @@ public class TestHoodieBackedTableMetadata extends
TestHoodieMetadataBase {
private static final Logger LOG =
LoggerFactory.getLogger(TestHoodieBackedTableMetadata.class);
@ParameterizedTest
- @ValueSource(booleans = {true, false})
- public void testTableOperations(boolean reuseReaders) throws Exception {
+ @CsvSource({"true,6", "true,8", "false,6", "false,8"})
+ public void testTableOperations(boolean reuseReaders, int tableVersion)
throws Exception {
HoodieTableType tableType = HoodieTableType.COPY_ON_WRITE;
- init(tableType);
+ initPath();
+ HoodieWriteConfig config =
getWriteConfigBuilder(HoodieFailedWritesCleaningPolicy.EAGER, true, true,
false, true, false)
+ .build();
+ config.setValue(HoodieTableConfig.VERSION, String.valueOf(tableVersion));
+ config.setValue(HoodieWriteConfig.WRITE_TABLE_VERSION,
String.valueOf(tableVersion));
Review Comment:
Addressed. There were few modifications required for it in HoodieTestUtils.
--
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]