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

Incorrect comparison in JsonStringArrayList.equals

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.1.0
    • Fix Version/s: 0.8.0
    • Component/s: 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

              • Assignee:
                vkorukanti Venki Korukanti
                Reporter:
                vkorukanti Venki Korukanti
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: