linkedin / linkedin/goavro

Reader Schema Support to read partial data

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

Nobody has claimed this yet.

Dominant language
Go
Stars
1.1k
Forks
232
PR merge metrics
No merged PRs in 30d

Description

Hi guys,

there are sometimes when you want to parse the object partially. Java API provides this feature passing the writer and the reader schema. Is there any plan to support it or there is already a way to do it?

https://avro.apache.org/docs/1.8.2/api/java/org/apache/avro/generic/GenericDatumReader.html#GenericDatumReader(org.apache.avro.Schema,%20org.apache.avro.Schema,%20org.apache.avro.generic.GenericData)

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.

Research direction

Start by reviewing the linked Avro GenericDatumReader documentation, especially its writer-schema and reader-schema behavior. Then locate goavro's decoding entry points and determine how partial data should be represented. Done should include reader-schema support for decoding partial data, with tests covering schema resolution and the expected decoded result.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
data-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.