nsivabalan commented on pull request #1149:
URL: https://github.com/apache/hudi/pull/1149#issuecomment-669298777


   We have introduced new sort modes as part of this PR and respective bulk 
insert partitioners. All these were using UserDefinedBulkInsertPartitioner 
interface, but then these newly added ones are not user defined but thats the 
only interface we had in place. So it made sense to rename this interface as 
BulkInsertPartitioner as it is being used by newly added readily available 
partitioners. But I didn't think too much about existing users. So, open to 
adding a new empty interface called UserDefinedBulkInsertPartitioner that 
extends from BulkInsertPartitioner. 
   But my point was, even if we do that, we can't avoid users needing to make 
changes to accommodate the new method. So, my point was why not users implement 
BulkInsertPartitioner instead of UserDefinedBulkInsertPartitioner incase some 
changes are required from their end. (BulkInsertPartitioner interface is 
exactly same as old UserDefinedBulkInsertPartitioner with just an addition of 
one method arePartitionRecordsSorted() ) 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to