Skip to content

Conversation

EdgarModesto23
Copy link

@EdgarModesto23 EdgarModesto23 commented Sep 23, 2025

#1850

This PR adds and Iceberg sink connector with the following features:

  • Support for S3-compatible storage
  • Support for REST catalogs
  • Single destination table
  • Multiple-table fan-out static routing
  • Multiple-table fan-out dynamic routing

I originally intended to include support for hms catalogs, but i had issues compiling the current implementation of the hms iceberg catalog in rust

It is also worth mentioning that although i included the code necessary to support glue, the iceberg glue catalog team is still working towards appending data files

RestCatalog::new(catalog_config)
}

//#[inline(always)]
Copy link
Contributor

Choose a reason for hiding this comment

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

What was a reason to have this commented out? I think it'd best to either add the appropriate comment or remove this code to avoid any confusion.

Copy link
Author

Choose a reason for hiding this comment

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

This was the original code for having support for hms catalogs but later I commented it out because it's correct afaik but the current build for the iceberg-hms catalog is broken, so I didn't really knew what to do with it. I'll remove it and add it later on when they fix it if that sounds good.

messages: Vec<ConsumedMessage>,
) -> Result<(), Error> {
info!(
"Iceberg sink with ID: {} received: {} messages, format: {}",
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe let's change both of these info logs, to the debug level.

address = "localhost:8090"
username = "iggy"
password = "iggy"
# token = "secret" # Personal Access Token (PAT) can be used instead of username and password
Copy link
Contributor

Choose a reason for hiding this comment

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

Keep this as token = "" (not commented out)

@hubcio
Copy link
Contributor

hubcio commented Sep 23, 2025

Also, fix CI :)

@EdgarModesto23 EdgarModesto23 changed the title feat(connector) Add Iceberg sink connector feat(connector): Add Iceberg sink connector Sep 25, 2025
@EdgarModesto23 EdgarModesto23 changed the title feat(connector): Add Iceberg sink connector feat(connector): Add Iceberg sink connector (WIP) Sep 25, 2025
@EdgarModesto23 EdgarModesto23 changed the title feat(connector): Add Iceberg sink connector (WIP) feat(connector): Add Iceberg sink connector Sep 27, 2025
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.

3 participants