apache / apache/parquet-java

Failed to read write avro data, when it has no fields

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

Description

Failed to write/read event when it created from following avro schema:

{"namespace": "com.example.avro",
"type": "record",
"name": "UserTestTwo",
"fields": []
}

**Reporter**: [Dmitriy](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=dimaga) / @dimaga

**Note**: *This issue was originally created as [PARQUET-130](https://issues.apache.org/jira/browse/PARQUET-130). 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 reproducing the read/write failure with the empty-field schema shown in the issue and determine which operation fails. Done means records created from that schema can be written and read successfully without errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.