You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Mehant Baid (JIRA)" <ji...@apache.org> on 2015/06/18 09:28:01 UTC

[jira] [Resolved] (DRILL-2403) TimePrintMillis.toString() misses leading zeros in post-decimal-point part

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

Mehant Baid resolved DRILL-2403.
--------------------------------
    Resolution: Fixed

Fixed in c2a2377bdc2acaf714c19c0cb509f62c8aeffd19

> TimePrintMillis.toString() misses leading zeros in post-decimal-point part
> --------------------------------------------------------------------------
>
>                 Key: DRILL-2403
>                 URL: https://issues.apache.org/jira/browse/DRILL-2403
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>            Reporter: Daniel Barclay (Drill)
>            Assignee: Mehant Baid
>             Fix For: 1.1.0
>
>         Attachments: DRILL-2403.patch
>
>
> In org.apache.drill.exec.vector.accessor.sql.TimePrintMillis, the toString() method includes this code:
>     baseTime = baseTime + "." + Integer.toString(millis);
> (Consider the result when millis is in the range 1 to 99.)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)