[HUDI-4071] Make NONE sort mode as default for bulk insert (#6195)
This commit is contained in:
@@ -311,7 +311,7 @@ public class HoodieWriteConfig extends HoodieConfig {
|
|||||||
|
|
||||||
public static final ConfigProperty<String> BULK_INSERT_SORT_MODE = ConfigProperty
|
public static final ConfigProperty<String> BULK_INSERT_SORT_MODE = ConfigProperty
|
||||||
.key("hoodie.bulkinsert.sort.mode")
|
.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 "
|
.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 - "
|
+ 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. "
|
+ "GLOBAL_SORT: this ensures best file sizes, with lowest memory overhead at cost of sorting. "
|
||||||
|
|||||||
Reference in New Issue
Block a user