linkedin / linkedin/avro-util

[fast-avro] Automatically degrade to use vanilla Avro if some new features are not supported in fast-avro

Open
#247 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement fastavro
Dominant language
Java
Stars
87
Forks
73
Avg merge
2h 50m
Merged PRs (30d)
1

Description

Logical Types feature is not supported in fast-avro, and this was introduced by Avro-1.8.
When fast-avro processes the schemas using logical types, they will be ignored, which would cause the type mismatch problem on client side.
To solve this issue, fast-avro should degrade to vanilla Avro automatically when detecting the un-supported features in the schema definition instead of ignoring them blindly.

Contributor guide

Open the contributing guide

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.

Research direction

Start by tracing fast-avro's schema processing for logical types and comparing it with vanilla Avro behavior. Determine how unsupported schema features are detected and verify that processing falls back to vanilla Avro rather than silently ignoring them, preventing client-side type mismatches.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.