Differenece aggregate can produce unexpected results when accumulating properties inconsistent

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: DB, SolarQuery
    • None

      Found a case where a datum stream with 2 accumulating properties, but sometimes only 1 of those properties was present on the stream, cased unexpected results. For example:

      Date Meter1 Meter2
      00:00 1 1
      00:10 2  
      00:20 3  
      00:30 4 2

      The expected overall difference for Meter1 would be (4 - 1) == 3, and for Meter2 (2 - 1) == 1, however Meter2 produces a difference of 0.

            Assignee:
            Matt Magoffin
            Reporter:
            Matt Magoffin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: