[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
@@ -276,7 +276,7 @@ public class DeltaSync implements Serializable {
|
||||
.setPartitionFields(partitionColumns)
|
||||
.setRecordKeyFields(props.getProperty(DataSourceWriteOptions.RECORDKEY_FIELD().key()))
|
||||
.setPopulateMetaFields(props.getBoolean(HoodieTableConfig.POPULATE_META_FIELDS.key(),
|
||||
Boolean.parseBoolean(HoodieTableConfig.POPULATE_META_FIELDS.defaultValue())))
|
||||
HoodieTableConfig.POPULATE_META_FIELDS.defaultValue()))
|
||||
.setKeyGeneratorClassProp(props.getProperty(DataSourceWriteOptions.KEYGENERATOR_CLASS_NAME().key(),
|
||||
SimpleKeyGenerator.class.getName()))
|
||||
.setPreCombineField(cfg.sourceOrderingField)
|
||||
@@ -370,7 +370,7 @@ public class DeltaSync implements Serializable {
|
||||
.setPartitionFields(partitionColumns)
|
||||
.setRecordKeyFields(props.getProperty(DataSourceWriteOptions.RECORDKEY_FIELD().key()))
|
||||
.setPopulateMetaFields(props.getBoolean(HoodieTableConfig.POPULATE_META_FIELDS.key(),
|
||||
Boolean.parseBoolean(HoodieTableConfig.POPULATE_META_FIELDS.defaultValue())))
|
||||
HoodieTableConfig.POPULATE_META_FIELDS.defaultValue()))
|
||||
.setKeyGeneratorClassProp(props.getProperty(DataSourceWriteOptions.KEYGENERATOR_CLASS_NAME().key(),
|
||||
SimpleKeyGenerator.class.getName()))
|
||||
.initTable(new Configuration(jssc.hadoopConfiguration()), cfg.targetBasePath);
|
||||
|
||||
Reference in New Issue
Block a user