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 support for default namespace (database name) #52068

Merged
merged 14 commits into from
Jan 23, 2025

Conversation

frifriSF59
Copy link
Contributor

What

Allow our users to set a database name for the s3-data-lake destination.
This value will be used if will only be used if the stream namespace is null, meaning when the Destination Namespace setting for the connection is set to Destination-defined or Source-defined

How

We are checking if the stream.namespace is null and setting it to the new configuration value if that is the case

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

@frifriSF59 frifriSF59 self-assigned this Jan 21, 2025
@frifriSF59 frifriSF59 requested a review from a team as a code owner January 21, 2025 23:08
Copy link

vercel bot commented Jan 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 23, 2025 6:12pm

@octavia-squidington-iii octavia-squidington-iii added area/connectors Connector related issues CDK Connector Development Kit connectors/destination/s3-data-lake labels Jan 21, 2025
@frifriSF59
Copy link
Contributor Author

frifriSF59 commented Jan 21, 2025

/format-fix

Format-fix job started... Check job output.

✅ Changes applied successfully. (ddcbb7c)

Copy link
Contributor

@edgao edgao left a comment

Choose a reason for hiding this comment

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

couple nits, otherwise :shipit: (don't forget to regen the spec files, CI will complain)

(also cc @johnny-schmidt - if you want a testbed for https://github.com/airbytehq/airbyte-internal-issues/issues/11424's "test default namespace" thing, iceberg is adding support for that here)

@frifriSF59
Copy link
Contributor Author

frifriSF59 commented Jan 22, 2025

/format-fix

Format-fix job started... Check job output.

✅ Changes applied successfully. (a9821b8)

@frifriSF59 frifriSF59 merged commit dc5d06f into master Jan 23, 2025
30 checks passed
@frifriSF59 frifriSF59 deleted the frifri/iceberg-default-namespace branch January 23, 2025 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation CDK Connector Development Kit connectors/destination/s3-data-lake
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants