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: use uppercase strings to represent data file format #23959

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

mmaslankaprv
Copy link
Member

@mmaslankaprv mmaslankaprv commented Oct 30, 2024

Iceberg is a bit inconsistent when defining this. Some libraries (pyiceber in particular) requires it to be upper case string. For Redpanda the case doesn't matter as we always lower case the value when parsing it.

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

Iceberg is a bit inconsistent when defining this. Some libraries
(pyiceber in particular) requires it to be upper case string. For
Redpanda the case doesn't matter as we always lower case the value when
parsing it.

Signed-off-by: Michał Maślanka <michal@redpanda.com>
@vbotbuildovich
Copy link
Collaborator

the below tests from https://buildkite.com/redpanda/redpanda/builds/57362#0192dd49-c020-43de-b94d-07f9c32674fc have failed and will be retried

catalog_schema_manager_rpunit

@vbotbuildovich
Copy link
Collaborator

@@ -143,11 +143,11 @@ data_file_content_type content_from_int(int c) {
iobuf format_to_str(data_file_format f) {
switch (f) {
case data_file_format::avro:
return iobuf::from("avro");
return iobuf::from("AVRO");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: a note here might help for future, but ok to skip to avoid another round of CI.

@mmaslankaprv mmaslankaprv merged commit bc12113 into redpanda-data:dev Oct 30, 2024
17 of 18 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.

4 participants