[ https://issues.apache.org/jira/browse/HUDI-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
wangxianghu updated HUDI-1218: ------------------------------ Description: Currently,`BulkInsertSortMode` was implemented as an inner class of `BulkInsertInternalPartitionerFactory` and it was referenced by `HoodieWriteConfig` which would be placed at the abstract level. Unfortunately, The Partitioners created by `BulkInsertInternalPartitionerFactory` are heavily related to Spark, So `BulkInsertInternalPartitionerFactory` can not be moved to the abstract level, to keep `HoodieWriteConfig` in abstract level, `BulkInsertSortMode` should be an Independent class, and keep in abstract level. was: Currently,`BulkInsertSortMode` was implemented as an inner class of `BulkInsertInternalPartitionerFactory` and it was referenced by `HoodieWriteConfig` which would be placed at the abstract level. Unfortunately, The Partitioners created by `BulkInsertInternalPartitionerFactory` are heavily related to Spark, So `BulkInsertInternalPartitionerFactory` can not be moved to the abstract level, to keep `HoodieWriteConfig` in abstract level, `BulkInsertSortMode` should be an > Introduce BulkInsertSortMode as Independent class > ------------------------------------------------- > > Key: HUDI-1218 > URL: https://issues.apache.org/jira/browse/HUDI-1218 > Project: Apache Hudi > Issue Type: Sub-task > Reporter: wangxianghu > Assignee: wangxianghu > Priority: Major > Fix For: 0.6.1 > > > Currently,`BulkInsertSortMode` was implemented as an inner class of > `BulkInsertInternalPartitionerFactory` and it was referenced by > `HoodieWriteConfig` which would be placed at the abstract level. > Unfortunately, The Partitioners created by > `BulkInsertInternalPartitionerFactory` are heavily related to Spark, So > `BulkInsertInternalPartitionerFactory` can not be moved to the abstract > level, to keep `HoodieWriteConfig` in abstract level, `BulkInsertSortMode` > should be an Independent class, and keep in abstract level. -- This message was sent by Atlassian Jira (v8.3.4#803005)