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

Incorrect comparison in JsonStringArrayList.equals

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.1.0
    • 0.8.0
    • Java

    Description

      [1] uses containsAll which could return wrong results. Ex. e1: [true, true, false], e2: [true, false, false].

      Remove the equals method and fallback on super class method which has correct implementation.

      [1] https://github.com/apache/arrow/blob/7a4026a2b43b164ac28c96e1e796c02ca9efe496/java/vector/src/main/java/org/apache/arrow/vector/util/JsonStringArrayList.java#L55

      Attachments

        Issue Links

          Activity

            People

              vkorukanti Venki Korukanti
              vkorukanti Venki Korukanti
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: