Create table iceberg_table with the mentioned Terraform configuration
Modify Terraform configuration, adding a new column named new_column_2, with any typing
Apply the new table configuration with Terraform
The new table version should have column new_column_2 in Glue Catalog, but it shouldn't be accessible in Athena as it's metadata wasn't updated
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
I believe this behaviour is caused by #33374, as it was created to keep the parameter metadata_location when updating Iceberg tables. This change indeed fixed a issue where parameters were lost when updating the table but it also meant that they would be kept static even when metadata should be changed.
Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
If you are interested in working on this issue, please leave a comment.
If this would be your first contribution, please review the contribution guide.
Terraform Core Version
1.4.0
AWS Provider Version
5.43.0
Affected Resource(s)
aws_glue_catalog_table
Expected Behavior
Iceberg tables schema updated according to new specified configuration.
Actual Behavior
Iceberg tables are updated in Glue catalog, but it's metadata stays the same, ignoring any changes in the new table configuration.
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Create table
iceberg_table
with the mentioned Terraform configurationModify Terraform configuration, adding a new column named
new_column_2
, with any typingApply the new table configuration with Terraform
The new table version should have column
new_column_2
in Glue Catalog, but it shouldn't be accessible in Athena as it's metadata wasn't updatedDebug Output
No response
Panic Output
No response
Important Factoids
No response
References
I believe this behaviour is caused by #33374, as it was created to keep the parameter
metadata_location
when updating Iceberg tables. This change indeed fixed a issue where parameters were lost when updating the table but it also meant that they would be kept static even when metadata should be changed.Would you like to implement a fix?
None