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

Add Iceberg catalog support #95

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

ediril
Copy link

@ediril ediril commented Jan 15, 2025

This PR adds support for attaching an Iceberg catalog and be able to read iceberg tables from a datalake. It specifically supports the following sql commands:

  1. Create an ICEBERG secret to access your catalog
CREATE SECRET (
     TYPE ICEBERG,
     CLIENT_ID <your-catalog-client-id>,
     CLIENT_SECRET <your-catalog-client-secret>,
     ENDPOINT 'https://<your-catalog-host>/api/catalog',
     AWS_REGION 'us-east-1'
);
  1. Attach your catalog
ATTACH 'my_catalog' AS my_datalake (TYPE ICEBERG);
  1. Select your iceberg tables in the datalake via the catalog
SHOW ALL TABLES;

SELECT * FROM my_datalake.schema.table;

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.

1 participant