apache / apache/parquet-java

Add new APIs for nested predicate pushdown

Open
#2,467 5 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

Currently, Parquet's **org.apache.parquet.filter2.predicate.FilterApi** is using **dot** to split the column name into multi-parts of nested fields. The drawback is that this causes issues when the field name contains **dot**.

The new APIs that will be added will take array of string directly for multi-parts of nested fields, so no confusion as using **dot** as a separator.

See https://github.com/apache/spark/pull/27728 and [SPARK-17636] for details.

**Reporter**: [DB Tsai](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dbtsai)

**Note**: *This issue was originally created as [PARQUET-1809](https://issues.apache.org/jira/browse/PARQUET-1809). 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 with org.apache.parquet.filter2.predicate.FilterApi and review how dotted column names are currently split for nested fields. Check the linked Spark pull request and SPARK-17636 for the intended API shape. Done means array-based APIs support nested field names without treating dots inside a field name as separators.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.