TDIGEST.RESET
Syntax
TDIGEST.RESET key
- Available in:
- Redis Open Source / Bloom 2.4.0
- Time complexity:
- O(1)
- ACL categories:
-
@tdigest
,@write
,@fast
,
Resets a t-digest sketch: empties the sketch and re-initializes it.
Required arguments
key
is the key name for an existing t-digest sketch.
Example
redis> TDIGEST.RESET t
OK
Return information
One of the following:
- Simple string reply
OK
if executed correctly. - Simple error reply in these cases: key does not exist or is of the wrong type, or incorrect number of arguments.