You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2021/08/16 21:47:00 UTC

[jira] [Updated] (ORC-834) Do Not Convert to String in DecimalFromTimestampTreeReader

     [ https://issues.apache.org/jira/browse/ORC-834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun updated ORC-834:
------------------------------
    Affects Version/s: 1.8.0

> Do Not Convert to String in DecimalFromTimestampTreeReader
> ----------------------------------------------------------
>
>                 Key: ORC-834
>                 URL: https://issues.apache.org/jira/browse/ORC-834
>             Project: ORC
>          Issue Type: Improvement
>          Components: Java
>    Affects Versions: 1.8.0
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>             Fix For: 1.8.0
>
>
> Seen this elsewhere and it doesn't usually end well.  Do not convert-to-string and then parse-from-string.  Go directly to Decimal from the values provided.
> https://github.com/apache/orc/blob/fb0ed31f15d9b77b76bc5dec8721f5d9ee129879/java/core/src/java/org/apache/orc/impl/ConvertTreeReaderFactory.java#L956-L962



--
This message was sent by Atlassian Jira
(v8.3.4#803005)