I'm hitting a weird issue with SUM when the Pinot ...
# troubleshooting
d
I'm hitting a weird issue with SUM when the Pinot Data Explorer. If I look at the values of a long metric individually, I see 0 or 1. When I
sum(value)
I get a buggy looking number.
Copy code
select impressions, count(*) from events_testing group by impressions
Copy code
"rows": [
            [1, 1492],
            [0, 169]
        ]
However when I get a sum, the value is very tiny.
Copy code
select sum(impressions) from events_testing
Copy code
"rows": [
            [5.32150281E-315]
        ]
I looked. My data just has 0 or 1 in it. The sum converts the aggregation to a DOUBLE, which seems broken.