apache / apache/parquet-java

Improve dictionary filter evaluating notEq

Open
#2,743 0 comments 0 reactions 0 assignees View on GitHub
Component: Parquet Priority: Minor Type: enhancement
Dominant language
Java
Stars
3.1k
Forks
1.6k
Avg merge
3d 12h
Merged PRs (30d)
33

Description

When evaluating `notEq`, if the column may contain nulls and the `notEq` value is non-null, the row-group must not be skipped. In such scenario reading dictionary and compare values is not necessary.

**Reporter**: [Yujiang Zhong](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=zhongyuj) / @zhongyujiang

**Note**: *This issue was originally created as [PARQUET-2245](https://issues.apache.org/jira/browse/PARQUET-2245). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no source file, test, or entry point. Start by locating the dictionary filter implementation and its tests, then reproduce the notEq case where the column may contain nulls and confirm that the row group is not skipped without unnecessary dictionary comparison.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.