Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-6234

[Java] ListVector hashCode() is not correct

    XMLWordPrintableJSON

Details

    Description

      Current implement is not correct:

      for (int i = start; i < end; i++) {
        hash = 31 * vector.hashCode(i);
      }
      

      Should be something like:

      hash = 31 * hash + vector.hashCode(i);

      Attachments

        Issue Links

          Activity

            People

              tianchen92 Ji Liu
              tianchen92 Ji Liu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h