Creating a DATALAKE using an AWS Glue Catalog - Teradata Vantage

Apache Iceberg and Delta Lake Open Table Format on VantageCloud Lake Getting Started

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
December 2024
ft:locale
en-US
ft:lastEdition
2025-01-03
dita:mapPath
bsr1702324250454.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
bsr1702324250454

The following example shows how to create an Iceberg DATALAKE object that is using AWS Assume Role Authorization (rolename and external_id are required here):

CREATE AUTHORIZATION iceberg_assume_role_aws
USING
AUTHSERVICETYPE 'ASSUME_ROLE'
ROLENAME '<IAM role name>'
EXTERNAL_ID '<External ID from the Trust Relationship of the IAM Role>';
CREATE DATALAKE datalake_iceberg_glue
EXTERNAL SECURITY CATALOG iceberg_assume_role_aws,
 
EXTERNAL SECURITY STORAGE iceberg_assume_role_aws
USING
   catalog_type ('glue')
   storage_location ('s3://<folder>/')
   storage_region ('us-west-2')
TABLE FORMAT iceberg;

The following example shows how to create a Delta Lake DATALAKE object that is using AWS Assume Role Authorization (rolename and external_id are required here):

CREATE AUTHORIZATION deltalake_assume_role_aws
USING
AUTHSERVICETYPE 'ASSUME_ROLE'
ROLENAME '<IAM role name>'
EXTERNAL_ID '<External ID from the Trust Relationship of the IAM Role>';
CREATE DATALAKE datalake_deltalake_glue
EXTERNAL SECURITY CATALOG deltalake_assume_role_aws,
EXTERNAL SECURITY STORAGE deltalake_assume_role_aws
USING
   catalog_type ('glue')
   storage_location ('s3://<folder>/')
   storage_region ('us-west-2')
TABLE FORMAT deltalake;