File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3232import org .apache .hudi .common .model .HoodieCleaningPolicy ;
3333import org .apache .hudi .common .model .HoodieFailedWritesCleaningPolicy ;
3434import org .apache .hudi .common .model .HoodieFileFormat ;
35- import org .apache .hudi .common .model .DefaultHoodieRecordPayload ;
35+ import org .apache .hudi .common .model .OverwriteWithLatestAvroPayload ;
3636import org .apache .hudi .common .model .WriteConcurrencyMode ;
3737import org .apache .hudi .common .table .HoodieTableConfig ;
3838import org .apache .hudi .common .table .marker .MarkerType ;
@@ -103,7 +103,7 @@ public class HoodieWriteConfig extends HoodieConfig {
103103
104104 public static final ConfigProperty <String > WRITE_PAYLOAD_CLASS_NAME = ConfigProperty
105105 .key ("hoodie.datasource.write.payload.class" )
106- .defaultValue (DefaultHoodieRecordPayload .class .getName ())
106+ .defaultValue (OverwriteWithLatestAvroPayload .class .getName ())
107107 .withDocumentation ("Payload class used. Override this, if you like to roll your own merge logic, when upserting/inserting. "
108108 + "This will render any value set for PRECOMBINE_FIELD_OPT_VAL in-effective" );
109109
You can’t perform that action at this time.
0 commit comments