apache / apache/pinot

Native NULL Support requires explicitly filtering the records

Open
#7,690 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
1d 21h
Merged PRs (30d)
189

Description

While Pinot does support storing NULLs natively, users are still expected to filter them out in the `where clause` when querying. It would be great to have the support for following:

- Filter out nulls using `CASE WHEN`, for example `sum(case when description is null then 1 else 0 end)`

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are identified. Start by tracing Pinot's SQL expression and aggregation handling for CASE WHEN with IS NULL, then locate existing NULL-semantics tests. Done means the example query executes and counts NULL values without requiring a WHERE filter, with regression coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.