apache / apache/parquet-java

ParquetFileReader has a currentBlock information in a private field

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

Description

The currentBlock variable is a metric information which can be useful to know which block the current record is being read from. If this variable has a getter, it would be possible to skip over a certain blocks.  

**Reporter**: [Tanuja Dubey](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=tanuja) / @tanuja5

**Note**: *This issue was originally created as [PARQUET-2125](https://issues.apache.org/jira/browse/PARQUET-2125). 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 at the ParquetFileReader entry point and locate the private currentBlock field and the code that updates it while records are read. Check nearby reader tests and existing API conventions before exposing the block information. Done means callers can inspect the current block and use that information to skip blocks, with tests covering the getter and reading behavior.

Written by the indexing model from the issue text.

Assessment

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