Customer Portal

Aggregate component -- limitation

Comments 1

  • Avatar
    oldforum
    0
    Comment actions Permalink
    Hello !

    To your questions:

    (1) this is a current limitation, may/will be fixed in future versions. The problem with long is that for AVG or STDDEV the precision of the output can be bigger than Clover's Numeric (java.lang.Double) can accomodate. With version 1.8 there is new Decimal data type introduced which will enable to implement AVG and STDDEV even for Long

    (2) If your data is sorted (meaning Aggregator does not need to keep internal hash table for counting) there is no limit even for STDDEV - the algorithm used allows incremental calculation of STDDEV.

    David.

Please sign in to leave a comment.