You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2017/03/17 18:36:41 UTC
[jira] [Commented] (ORC-164) Decimal column encoding is documented
incorrectly
[ https://issues.apache.org/jira/browse/ORC-164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15930451#comment-15930451 ]
Owen O'Malley commented on ORC-164:
-----------------------------------
Actually, we fixed the text in ORC-139. We did miss the table.
> Decimal column encoding is documented incorrectly
> -------------------------------------------------
>
> Key: ORC-164
> URL: https://issues.apache.org/jira/browse/ORC-164
> Project: ORC
> Issue Type: Bug
> Components: documentation
> Reporter: Douglas Drinka
> Labels: documentation
>
> Relevant code:
> {code:title=WriterImpl.java:DecimalTreeWriter|borderStyle=solid}
> this.scaleStream = createIntegerWriter(writer.createStream(id,
> OrcProto.Stream.Kind.SECONDARY), true, isDirectV2, writer);
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)