linkedin / linkedin/goavro

Allow limiting written block size

Open
#246 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

When loading Avro files to BigQuery, there is a limit on the maximum size of avro data blocks inside an ocf file. In the BQ case, it's 16MB. `goavro` should support a `MaxBlockLen` (number of bytes) config option similar to `MaxBlockSize` (number of rows)

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

Locate the existing MaxBlockSize configuration and the OCF block-writing path, then read how the row-based limit is applied. Add coverage for MaxBlockLen and verify that generated blocks respect the byte limit while existing row-limit behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
data-engineering
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.