Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-1649

Get rid of TCounterType::DOUBLE_VALUE

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • Impala 2.2
    • None
    • Backend

    Description

      TCounterType::DOUBLE_VALUE seems to exist only to force PrettyPrinter::Print() to use 2 decimal places, where TCounterType::UNIT would only use 2dp if the value was sufficiently large.

      We should either force the caller to provide a required precision to Print(), or replace DOUBLE_VALUE with FIXED_PRECISION (and remove the unnecessary cast) to enforce this behaviour.

      Attachments

        Activity

          People

            pranay_singh Pranay Singh
            henryr Henry Robinson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: