apache / apache/druid

Avoid boxing/unboxing in PostAggregators

Open
#6,049 2 comments 0 reactions 0 assignees View on GitHub
Area - Null Handling stale
Dominant language
Java
Stars
14.1k
Forks
3.8k
Avg merge
2d 31m
Merged PRs (30d)
209

Description

Review comment -
https://github.com/apache/incubator-druid/pull/5958#discussion_r204941324
It looks that we need specialized PostAggregator for primitive types and a new method isNull() to avoid boxing/unboxing.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the linked pull request discussion and the existing PostAggregator implementations. Determine the scope of specialized primitive-type post-aggregators and the proposed isNull() method. Done means the design is agreed and boxing/unboxing is avoided in the relevant post-aggregation paths.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases, performance
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.