Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-216

VectorRowBatch creation from TypeDescription invalidates batch size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0
    • None
    • None
    • None

    Description

      TypeDescription.createRowBatch() always resets the size to 0. VectorRowBatch sets the size to value specified in c'tor. Calling createRowBatch() vs c'tor return different values which is confusing.

      https://github.com/apache/orc/blob/1ef78bbfc7e834deca973ee8f9517c8575737fcf/java/core/src/java/org/apache/orc/TypeDescription.java#L669-L680

      Attachments

        Issue Links

          Activity

            People

              prasanth_j Prasanth Jayachandran
              prasanth_j Prasanth Jayachandran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: