apache / apache/hudi

[SUPPORT] Failed to deserialize HoodieAvroIndexRecord

Open
#11,734 5 comments 0 reactions 0 assignees View on GitHub
type:feature
Dominant language
Java
Stars
6.2k
Forks
2.5k
Avg merge
2d 8h
Merged PRs (30d)
111

Description

**_Tips before filing an issue_**

- Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)?

- Join the mailing list to engage in conversations and get faster support at dev-subscribe@hudi.apache.org.

- If you have triaged this as a bug, then file an [issue](https://issues.apache.org/jira/projects/HUDI/issues) directly.

**Describe the problem you faced**

When we try to serialize the HoodieAvroIndexedRecord and then deserialize back, it will cause failure like that:

image

A clear and concise description of the problem.

**To Reproduce**

Steps to reproduce the behavior:

1. Add test case in `TestSerializationUtils`
image

3. Run this test

**Expected behavior**

successful deserialization

**Environment Description**

* Hudi version :

* Spark version :

* Hive version :

* Hadoop version :

* Storage (HDFS/S3/GCS..) :

* Running on Docker? (yes/no) :

**Additional context**

Add any other context about the problem here.

**Stacktrace**

```Add the stacktrace of the error.```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the existing TestSerializationUtils test and reproduce serialization and deserialization of HoodieAvroIndexedRecord. Identify the failure from the test output or stacktrace, then confirm that the record can be deserialized successfully.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.