[HUDI-3213] Making commit preserve metadata to true for compaction (#4811)
* Making commit preserve metadata to true * Fixing integ tests * Fixing preserve commit metadata for metadata table * fixed bootstrap tests * temp diff * Fixing merge handle * renaming fallback record * fixing build issue * Fixing test failures
This commit is contained in:
committed by
GitHub
parent
6f57bbfac4
commit
3539578ccb
@@ -272,8 +272,9 @@ class TestMORDataSource extends HoodieClientTestBase {
|
||||
.option(DataSourceReadOptions.BEGIN_INSTANTTIME.key, commit5Time)
|
||||
.option(DataSourceReadOptions.END_INSTANTTIME.key, commit6Time)
|
||||
.load(basePath)
|
||||
// compaction updated 150 rows + inserted 2 new row
|
||||
assertEquals(152, hudiIncDF6.count())
|
||||
// even though compaction updated 150 rows, since preserve commit metadata is true, they won't be part of incremental query.
|
||||
// inserted 2 new row
|
||||
assertEquals(2, hudiIncDF6.count())
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user