Skip to content

feat(avro): split Arrow-free Avro library from bundle - #1180

Open
PingLiuPing wants to merge 1 commit into
apache:mainfrom
PingLiuPing:arrow-free-avro
Open

PingLiuPing wants to merge 1 commit into
apache:mainfrom
PingLiuPing:arrow-free-avro

Conversation

@PingLiuPing

@PingLiuPing PingLiuPing commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Motivation
Iceberg scan planning needs Avro to read manifest lists and manifests. Today, registering the Avro reader requires linking iceberg_bundle, which also brings in Arrow C++ and Parquet. Projects like Axiom uses Iceberg C++ for scan planning only, and do not need Arrow and parquet. Linking the bundle can load a second Arrow C++ version into the same process and cause ABI conflicts.

Fixes #1027.

Changes

  • Move the Avro reader, writer, and registration functions into a standalone iceberg_avro library. Use nanoarrow for Arrow C Data and Iceberg FileIO for streams.
  • Link iceberg_avro from iceberg_bundle so existing bundle consumers can keep calling iceberg::avro::RegisterAll().
  • Default ICEBERG_BUILD_AVRO to the bundle setting. Engines that only need Avro can build with -DICEBERG_BUILD_BUNDLE=OFF -DICEBERG_BUILD_AVRO=ON.

@PingLiuPing
PingLiuPing marked this pull request as ready for review November 26, 2026 10:20
@PingLiuPing PingLiuPing changed the title WIP feat(avro): split Arrow-free Avro library from bundle feat(avro): split Arrow-free Avro library from bundle Dec 1, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scan planning needs iceberg_bundle (and Arrow C++) only for the Avro reader

1 participant