- You can write your own bucketizer with MACROBUCKETIZER, but it will be painfull, and less performant than native ones, because you will have to test data type for each data in each bucket.
- If you have a big database, and enough RAM, do not FETCH twice (it will take more time). FETCH once, then filter data to keep only one type, and bucketize the result differently as you already do.
eg :
[ xx ] FETCH 'all' STORE
$all <% VALUES 0 GET TYPEOF "DOUBLE" == %> FILTERBY 'continuousGTS' STORE