Skip to content

Commit

Permalink
[HUDI-4071] Make NONE sort mode as default for bulk insert (#6195)
Browse files Browse the repository at this point in the history
  • Loading branch information
codope authored Jul 23, 2022
1 parent f1f0109 commit da28e38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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. "
Expand Down

0 comments on commit da28e38

Please sign in to comment.