and any reason why PERCENTILE supports floats but ...
# general
a
and any reason why PERCENTILE supports floats but PERCENTILEEST works on longs/ints only ?
j
PERCENTILEEST uses the QuantileDigest data structure to estimate the percentile, which only takes integral numbers. floating numbers will be converted to integral numbers. For floating numbers, you can use PERCENTILETDIGEST instead.
a
When I tried it it didn’t convert, just failed with exception.
Thank you!