Open stonefishy opened 1 month ago
Transferring to https://github.com/pulumi/pulumi-aws
@stonefishy thanks for doing the research and finding the upstream issue! It looks like the upstream issue has a lot of upvotes so hopefully it will get addressed. Once upstream fixes this we will automatically get the fix in the next release.
I am using
pulumi
to create a AWS glue table with iceberg format. The iceberg metadata is created, I can insert data into the table and select the data which inserted throughAWS Athena
. Below is glue iceberg table created by python code.create glue iceberg table
I added a new column 'test5' in the code, and I can see the 'test5' column in the table schema after
pulumi up
. But I faced the error when insert the data into the table in Athena.Add new column 'test5' in glue iceberg table
Table schema is updated
Athena SQL:
Get the error when executing above SQL in Athena
Checking the metadata json in s3 bucket, the metadata not updated with new column
test5
.Checking the API docs for
iceberg_input
metadata_operation
, the value only can beCREATE
. It seems only support creating iceberg metadata file while creating glue table. The iceberg metadata can not be updated when updating glue table schema by using pulumi.Also find the same issue from Terraform site: https://github.com/hashicorp/terraform-provider-aws/issues/36641