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

[Java] ValueVector#accept may has potential cast exception

    XMLWordPrintableJSON

Details

    Description

      Per discussion https://github.com/apache/arrow/pull/5195#issuecomment-528425302

      We may use API this way:

      RangeEqualsVisitor visitor = new RangeEqualsVisitor(vector1, vector2);
      vector3.accept(visitor, range)

      if vector1/vector2 are say, StructVector}}s and vector3 is an {{IntVector - things can go bad. we'll use the compareBaseFixedWidthVectors() and do wrong type-casts for vector1/vector2.

      Attachments

        Issue Links

          Activity

            People

              tianchen92 Ji Liu
              tianchen92 Ji Liu
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 2h
                  2h