1
0

[HUDI-4071] Make NONE sort mode as default for bulk insert (#6195)

This commit is contained in:
Sagar Sumit
2022-07-24 01:07:04 +05:30
committed by GitHub
parent f1f0109ab8
commit da28e38fe3

View File

@@ -311,7 +311,7 @@ public class HoodieWriteConfig extends HoodieConfig {
public static final ConfigProperty<String> BULK_INSERT_SORT_MODE = ConfigProperty
.key("hoodie.bulkinsert.sort.mode")
.defaultValue(BulkInsertSortMode.GLOBAL_SORT.toString())
.defaultValue(BulkInsertSortMode.NONE.toString())
.withDocumentation("Sorting modes to use for sorting records for bulk insert. This is use when user "
+ BULKINSERT_USER_DEFINED_PARTITIONER_CLASS_NAME.key() + "is not configured. Available values are - "
+ "GLOBAL_SORT: this ensures best file sizes, with lowest memory overhead at cost of sorting. "