Examples for DATALAKE Definition with Unity Catalog in ADLS Gen2 Storage - Teradata Vantage

Teradata® Open Table Format for Apache Iceberg and Delta Lake User Guide

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Lake
Product
Teradata Vantage
Release Number
20.00
Published
October 2025
ft:locale
en-US
ft:lastEdition
2025-10-25
dita:mapPath
qrj1749167830193.ditamap
dita:ditavalPath
lli1749584660955.ditaval
dita:id
bsr1702324250454

The following example shows how to create a DeltaLake DATALAKE using an Azure Managed Service Principal for both catalog connection and storage access.

Iceberg

CREATE DATALAKE unity_iceberg_wr 

EXTERNAL SECURITY CATALOG auth_invoker_unity, 

EXTERNAL SECURITY STORAGE auth_invoker_unity 

USING 

catalog_type ('unity') 

catalog_location('https://adb-8074943983864086.6.azuredatabricks.net/api/2.1/unity-catalog/iceberg') 

unity_catalog_name('reg_iceberg_db') 

catalog_service_principal_type('idp_managed_principal') 

storage_account_name ('regicebergstorageacct') 

tenant_id('391c8c4c-6a2a-40fd-ab98-226b6baa5155') 

default_cluster_id('0210-232334-ab0q59t3') 

TABLE FORMAT iceberg; 

Delta Lake

CREATE DATALAKE unity_iceberg_wr 

EXTERNAL SECURITY CATALOG auth_invoker_unity, 

EXTERNAL SECURITY STORAGE auth_invoker_unity 

USING 

catalog_type ('unity') 

catalog_location('https://adb-8074943983864086.6.azuredatabricks.net/api/2.1/unity-catalog/iceberg') 

unity_catalog_name('reg_iceberg_db') 

catalog_service_principal_type('idp_managed_principal') 

storage_account_name ('regicebergstorageacct') 

tenant_id('391c8c4c-6a2a-40fd-ab98-226b6baa5155') 

default_cluster_id('0210-232334-ab0q59t3') 

TABLE FORMAT deltalake; 

Usage Considerations

default_cluster_id is required when the catalog is UNITY.