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

Decimal column encoding is documented incorrectly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • documentation

    Description

      Relevant code:

      WriterImpl.java:DecimalTreeWriter
      this.scaleStream = createIntegerWriter(writer.createStream(id,
                OrcProto.Stream.Kind.SECONDARY), true, isDirectV2, writer);
      

      The documentation states the Scale stream is unsigned, both in the description and in the table. The code reads and writes this column as signed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ddrinka Douglas Drinka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: