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

StatsMetrics may write unparseable JSON when a value is NaN or inf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 1.0
    • Impala 1.0.1
    • None
    • None

    Description

      JSON doesn't allow nan or inf as valid double literals. There's no accepted way to represent nonfinite values in JSON, so the convention is apparently to use null and lose the ability to distinguish between nan and inf. That's what we'll do for now.

      This affects a StatsMetric before any updates have been made to it, since it's mean is NaN.

      Attachments

        Activity

          People

            henryr Henry Robinson
            henryr Henry Robinson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: