Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2403

TimePrintMillis.toString() misses leading zeros in post-decimal-point part

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: Functions - Drill
    • Labels:
      None

      Description

      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.)

        Attachments

          Activity

            People

            • Assignee:
              mehant Mehant Baid
              Reporter:
              dsbos Daniel Barclay
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: