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

[Java] VectorSchemaRootAppender doesn't work for BitVector

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.0.0
    • 7.0.0
    • Java

    Description

      Looks like the buffer copy logic doesn't work for BitVector, even though the BitVector is from BaseFixedWidthVector. I created two VectorSchemaRoot (target empty), calling 

      VectorSchemaRootAppender.append(target, source);

      then reading from the target didn't give me correct result.

       

      Hope to get confirmation from experts that this is a problem in Apache Arrow, if yes, wondering if there is a workaround (tried using copyFromSafe as well and it doesn't work either)

      Attachments

        Issue Links

          Activity

            People

              fan_li_ya Liya Fan
              tzhang ZHUO ZHANG
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1.5h
                  1.5h