https://pulumi.com logo
#aws
Title
# aws
i

important-cartoon-53469

12/19/2023, 2:07 PM
Hey, I'm trying to enable compaction on an Iceberg table in AWS Glue catalog (using Java, but not sure if it matters). When using the AWS CLI, you can enable it by using:
Copy code
aws glue create-table-optimizer \
  --catalog-id 123456789012 \
  --database-name iceberg_db \
  --table-name iceberg_table \
  --table-optimizer-configuration '{"roleArn":"arn:aws:iam::123456789012:role/compaction_role", "enabled":'true'}' \
  --type compaction
Any idea?
2 Views