apache / apache/pinot

Add the support for `STDDEV_POP/SAMP, VAR_POP/DEV` for star tree

Open
#10,146 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
2d 55m
Merged PRs (30d)
182

Description

We recently added the `STDDEV_POP/SAMP, VAR_POP/DEV` aggregation function. It would be great if we can support this in the star tree index.

We need to implement `ValueAggregator` interface for stddev and var.

Contributor guide

Open the contributing guide

Research direction

Start by locating the star tree implementation, the ValueAggregator interface, and existing standard-deviation or variance aggregation support. Compare current aggregators with the required STDDEV_POP, STDDEV_SAMP, VAR_POP, and VAR_DEV functions. Done means the functions are supported by the star tree index with corresponding verification in the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.