apache / apache/parquet-java

Postpone dictionary encoding decision for starting null pages.

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

Description

Discussion from the dev mailing list: [Fallback Encoding for Very Sparse or Sorted Datasets-Apache Mail Archives](https://lists.apache.org/thread/jkkxhknsxw8cdv8fxf1bstqdn5fzw2pl)

If beginning values are all nulls, the dictionary encoding is disabled when first data page is created. This loses the advantage of dictionary encoding if following values are good fit.

**Reporter**: [Gang Wu](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=wgtmac) / @wgtmac
**Assignee**: [Gang Wu](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=wgtmac) / @wgtmac

**Note**: *This issue was originally created as [PARQUET-2253](https://issues.apache.org/jira/browse/PARQUET-2253). 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

Start by reading the linked dev mailing-list discussion and the issue migration note for the prior PARQUET-2253 context. Trace the Parquet Java dictionary-encoding decision for a first page containing only nulls; done means that decision is postponed so later values can still use dictionary encoding when they fit.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
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.