Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Use FixedSizeBinary instead of Binary for int96 conversion when convertInt96ToArrowTimestamp is false

Open
#3,088 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java

Research direction

Start at the convertINT96 method shown in the issue and inspect the surrounding Parquet-to-Arrow type mapping. Confirm the appropriate FixedSizeBinary representation for int96 when convertInt96ToArrowTimestamp is false, then verify the resulting mapping with the relevant conversion tests.

Written by the indexing model from the issue text.

Description

Type: enhancement
Describe the enhancement requested
public TypeMapping convertINT96(PrimitiveTypeName primitiveTypeName) throws RuntimeException {
  if (convertInt96ToArrowTimestamp) {
    return field(new ArrowType.Timestamp(TimeUnit.NANOSECOND, null));
  } else {
    return field(new ArrowType.Binary());
  }
}

When converting a Parquet type to an Arrow type, if the original type is int96 and the option convertInt96ToArrowTimestamp is set to false, the resulting Arrow type defaults to Binary. However, it might be more appropriate to use FixedSizeBinary instead.

Component(s)

No response

Dominant language
Java
Stars
3.1k
Forks
1.6k
Avg merge
6d 16h
Merged PRs (30d)
36

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/parquet-java

All issues in apache/parquet-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.