geserdugarov commented on issue #12155: URL: https://github.com/apache/hudi/issues/12155#issuecomment-2434961223
But if we change hash function, there could be duplications due to some keys written to one bucket using current hash, and after hash fix, buckets could be different: ```Text Key:f1:abc,f2:bcd,123; new hash: [abc, bcd,123]; current hash: [abc, bcd, 123]; new bucket = 2; current bucket = 1 Key:f1:hij,f2:jkl,,x; new hash: [hij, jkl,,x]; current hash: [hij, jkl, , x]; new bucket = 0; current bucket = 2 Key:f1:123,f2:234,567; new hash: [123, 234,567]; current hash: [123, 234, 567]; new bucket = 0; current bucket = 1 Key:f1:234,f2:,,7,89; new hash: [234, ,,7,89]; current hash: [234, , , 7, 89]; new bucket = 1; current bucket = 1 ``` -- 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]
