Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0ED37182DD for ; Fri, 12 Jun 2015 21:48:02 +0000 (UTC) Received: (qmail 68577 invoked by uid 500); 12 Jun 2015 21:48:01 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 68536 invoked by uid 500); 12 Jun 2015 21:48:01 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 68428 invoked by uid 99); 12 Jun 2015 21:48:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2015 21:48:01 +0000 Date: Fri, 12 Jun 2015 21:48:01 +0000 (UTC) From: "Mehant Baid (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-2403) TimePrintMillis.toString() misses leading zeros in post-decimal-point part MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-2403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mehant Baid updated DRILL-2403: ------------------------------- Attachment: DRILL-2403.patch Added unit test > 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)