xicm commented on PR #11578:
URL: https://github.com/apache/hudi/pull/11578#issuecomment-2219339643

   > @xicm @KnightChess So we reach concensus the algorithm raised by 
@KnightChess is better? If that's true, let's fire a fix in a separate PR.
   
   Both algorithms have drawbacks. 
   For example, 
   parallelism = 10, bucketNumber = 5 and partition = ["2021-01-01", 
"2021-01-03"]
   old: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
   new: [2, 2, 2, 2, 2]
   
   parallelism = 20, bucketNumber = 5 and partition = ["2021-01-01", 
"2021-01-03"]
   old: [2, 2, 2, 2, 2]
   new: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
   
   The element in the array means how many data slice each TM processes.


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to