GMT20240912-210035_Clip_2024-09-12 — Uniform Demo — tight as possible.mp4
ALTER TABLE table_name SET TBLPROPERTIES(
'delta.enableIcebergCompatV2' = 'true',
'delta.universalFormat.enabledFormats' = 'iceberg',
'delta.columnMapping.mode' = 'name'
);
Go to AWS IAM and create a role
asdf or something for now — we will be back to update this laterGrant your role s3 read access for your bucket. Something like this is fine for the IAM Policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:GetObject",
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::my_bucket_name",
"arn:aws:s3:::my_bucket_name/*"
]
}
]
}
We will be back to fix the trust policy 💪
But for now, just copy the ARN of the role you just created and head to Snowflake. Keep IAM open though
storage_base_url = s3://{your_bucket_name}storage_aws_role_arn = the ARN you copied from the AWS setupCATALOG_NAMESPACE = {your_schema_from_databricks}
my_catalog.my_schema.my_table, you’ll want CATALOG_NAMESPACE = 'my_schema'CATALOG_URI = https://{your_databricks_url}/api/2.1/unity-catalog/icebergWAREHOUSE = {your_catalog_from_databricks}
my_catalog.my_schema.my_table, you’ll want WAREHOUSE = 'my_catalog'BEARER_TOKEN = your Databricks PAT from the Databricks setup step : )