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

Add APIs to decimal vector for writing big endian data

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: Java

      Description

      We recently moved Dremio to LE Decimal format (similar to Arrow). As part of that we introduces some APIs in decimal vector which take a big endian data and swap the bytes while writing into the ArrowBuf of decimal vector.

      The advantage of these APIs is that caller would not have to allocate an additional memory and write( and read) source big endian twice for swapping into new memory and using that to write into the vector.

      We can directly swap bytes while writing into the vector – just read once and swap while writing.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                siddteotia Siddharth Teotia
                Reporter:
                siddteotia Siddharth Teotia
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: