Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iceberg: add non-codegened manifest_list implementation #23096

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

andrwng
Copy link
Contributor

@andrwng andrwng commented Aug 28, 2024

The avrogen::manifest_file is pretty difficult to operate on, on account
of Avro's codegen heavily using std::any and representing optional
values as unions. To manifest list operations easier (and to decouple
metadata from the Avro library) this introduces a manifest_list class
that uses simpler types to represent metadata.

Calls into the avrogen serialization of avrogen::manifest_files but with
the members of the non-avrogen manifest_files.

Backports Required

  • none - not a bug fix
  • none - this is a backport
  • none - issue does not exist in previous branches
  • none - papercut/not impactful enough to backport
  • v24.2.x
  • v24.1.x
  • v23.3.x

Release Notes

  • none

@andrwng andrwng force-pushed the iceberg-manifest-list branch 2 times, most recently from 4cebcbc to 0d7ec0e Compare August 28, 2024 19:46
@andrwng andrwng marked this pull request as ready for review August 28, 2024 19:48
@andrwng andrwng requested review from dotnwat and jcipar August 28, 2024 19:48
@andrwng andrwng force-pushed the iceberg-manifest-list branch 2 times, most recently from ff414f6 to 26933fd Compare August 28, 2024 20:22
src/v/iceberg/manifest_list.h Outdated Show resolved Hide resolved
src/v/iceberg/BUILD Show resolved Hide resolved
src/v/iceberg/manifest_list_avro.cc Outdated Show resolved Hide resolved
src/v/iceberg/manifest_list_avro.cc Outdated Show resolved Hide resolved
@andrwng andrwng force-pushed the iceberg-manifest-list branch 3 times, most recently from 74bbe3b to b170e9c Compare August 28, 2024 22:58
@andrwng andrwng requested a review from dotnwat August 28, 2024 23:00
dotnwat
dotnwat previously approved these changes Aug 29, 2024
The avrogen::manifest_file is pretty difficult to operate on, on account
of Avro's codegen heavily using std::any and representing optional
values as unions. To manifest list operations easier (and to decouple
metadata from the Avro library) this introduces a manifest_list class
that uses simpler types to represent metadata.

This doesn't introduce any serialization code. That will come in a
subsequent commit.
Calls into the avrogen serialization of avrogen::manifest_files but with
the members of the non-avrogen manifest_files.
@andrwng andrwng merged commit f6958c8 into redpanda-data:dev Aug 29, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants