TDIGEST.MIN

Syntax
TDIGEST.MIN key
Available in:
Redis Stack / Bloom 2.4.0
Time complexity:
O(1)

Returns the minimum observation value from a t-digest sketch.

Required arguments

key is key name for an existing t-digest sketch.

Return value

Simple string reply of minimum observation value from a sketch. The result is always accurate. 'nan' if the sketch is empty.

Examples

redis> TDIGEST.CREATE t
OK
redis> TDIGEST.MIN t
"nan"
redis> TDIGEST.ADD t 3 4 1 2 5
OK
redis> TDIGEST.MIN t
"1"
Rate this page