Another quick one - I'm historising a number of values, some of which are 
continuous (floating point values that can comfortably interpolated 
according to time) and some of which are discrete (integer values that 
should *not* be interpolated according to time).

When I'm producing a bucketized history for reporting purposes, I'd like an 
AVERAGE of my continuous points, but averages for the discrete points don't 
make sense - ie. if 0 is red and 1 is green, what on earth does 0.5 mean? 
As such, it's best to take either a MEDIAN or a MAX of discrete points.

I've now added a 'type' level to my channels, so I can mark them as 
continuous or discrete - I can then in theory call FETCH twice on the two 
different labels, using AVG on the continuous and MEDIAN on the discrete. 
But I was curious if there was any other trick to bucketizing that can 
handle this sort of logic automatically for me and treat floating point 
numbers differently to integers, without having to make two distinct 
queries? 

-- 
You received this message because you are subscribed to the Google Groups "Warp 
10 users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/warp10-users/ca1a00e9-880c-4b71-902c-aec698fb6c05%40googlegroups.com.

Reply via email to