Skip to content

[SQL] Linear implementation for STDDEV#5678

Open
mihaibudiu wants to merge 1 commit intomainfrom
stddev-lin
Open

[SQL] Linear implementation for STDDEV#5678
mihaibudiu wants to merge 1 commit intomainfrom
stddev-lin

Conversation

@mihaibudiu
Copy link
Contributor

We only had a non-linear aggregate for stddev, this adds a linear implementation.
Refactors some code used by all linear aggregates.

this.setResult(aggregate);
}

void processSingle(SqlSingleValueAggFunction function) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this code is unmodified, just moved

@mihaibudiu
Copy link
Contributor Author

Part of #1341

Copy link
Collaborator

@mythical-fred mythical-fred left a comment

Choose a reason for hiding this comment

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

Two small notes below — overall the refactoring is clean and the formula is correct.

Signed-off-by: Mihai Budiu <mbudiu@feldera.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants