Skip to content

Conversation

@dwdougherty
Copy link
Collaborator

No description provided.

@dwdougherty dwdougherty requested review from a team and LiorKogan January 15, 2026 15:10
@dwdougherty dwdougherty self-assigned this Jan 15, 2026
@jit-ci
Copy link

jit-ci bot commented Jan 15, 2026

Hi, I’m Jit, a friendly security platform designed to help developers build secure applications from day zero with an MVS (Minimal viable security) mindset.

In case there are security findings, they will be communicated to you as a comment inside the PR.

Hope you’ll enjoy using Jit.

Questions? Comments? Want to learn more? Get in touch with us.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 15, 2026

DOC-6149

Copy link
Contributor

@andy-stark-redis andy-stark-redis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One tiny (ignorable) suggestion, but otherwise LGTM.

Co-authored-by: andy-stark-redis <[email protected]>
- clients
complexity: O(1)
description: Create a compaction rule
description: Create a compaction rule. Starting from Redis 8.6, aggregation functions ignore NaN values when computing compacted results.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest removing this addition.

It sounds like a breaking change.
Previously, NaN values were not possible, so I'm not sure if "Starting from Redis 8.6" is needed.
Also, the two new aggregators don't ignore Nan values.

In the table below, you can remove the "since Redis 8.6" for the same reason.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's really not clear to me if you want "...since Redis 8.6..." removed from all tables or just the one below.

<details open><summary><code>subtrahend</code></summary>

is numeric value of the subtrahend (double).
is numeric value of the subtrahend (double). Starting from Redis 8.6, an error is returned if the subtrahend is NaN.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An error was returned before as well, simply because Nan was not supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants