TDIGEST.RESET key

Available in: Redis Stack

Time complexity: O(1)

Reset the sketch to zero - empty out the sketch and re-initialize it.

Parameters:

  • key: The name of the sketch.

Return

[] otherwise.

Examples

redis> TDIGEST.RESET t-digest
OK