TDIGEST.MAX
TDIGEST.MAX key
Returns the maximum observation value from a t-digest sketch.
keySimple string reply of maximum observation value from a sketch. The result is always accurate. 'nan' if the sketch is empty.
redis> TDIGEST.CREATE t
OK
redis> TDIGEST.MAX t
"nan"
redis> TDIGEST.ADD t 3 4 1 2 5
OK
redis>TDIGEST.MAX t
"5"
© 2006–2022 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/tdigest.max/