Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-28687

BucketSelector is wrong when hashcode is negative

    XMLWordPrintableJSON

Details

    Description

      The calculation of bucket should be `Math.abs(hashcode % numBucket)` instead of `hashcode % numBucket`.

      Attachments

        Issue Links

          Activity

            People

              lzljs3620320 Jingsong Lee
              lzljs3620320 Jingsong Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: