-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Glue Iceberg Table: Table is broken after any update #1919
Comments
@sfgarcia @oleksiiburov @dmschauer |
@padaszewski My workaround would be indeed to use a custom resource with the Athena API (issuing queries via awswrangler in a Lambda function). A custom implementation for creating the table and deleting the table is straight-forward. I already implemented such a custom resource. Covering schema changes to the existing table via this custom resource could also be implemented but it's more complex (would work by comparing existing columns and types to recently supplied columns and types and issuing corresponding ALTER TABLE statements). But I see you're looking for a solution that avoids Athena so I think that won't help here. |
Thx @dmschauer for the reply. If AWS doesn't ship this along with the iceberg table partitioning feature request, then there is currently no other way than using athena with CR on deployment to achieve this. Iceberg tables are critical for our use case and it's sad that such a great thing is not well supported via IaC. |
Hi @padaszewski. I would also like that AWS fully supported managing Iceberg tables (create/update) through IaC. At my team we don't have our Iceberg tables as IaC (we create and update them with Athena queries) due to this limitation. |
Hi @sfgarcia, thx for the reply. We decided to do the same, but with CustomResources as IaC. |
Just a +1 here, this is still an issue. In addition, when creating a resource with a reference to a schema version, the columns do not appear to be loaded into the metadata file. |
hey! +1 |
Same here, would love to be able to create/update partitioned Iceberg tables using the CDK. |
I would love to be able to create/update partitioned Iceberg tables using the CloudFormation/CDK too. |
+1 |
+1 |
+1 |
10 similar comments
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1 |
+1, blocked by this |
Name of the resource
AWS::Glue::Table
Resource Name
No response
Issue Description
Hi there!
When I try to update something on my iceberg table, the update causes the table to break and the table format to disappear. Basically, it's no longer an iceberg table and no operations on the table are possible.
Expected Behavior
When I update the table, the update does not remove the table input and I can work with the iceberg table as I should.
Observed Behavior
Before the update (after initial deployment):
After any update:
Notice the table format prop. Table management prop is also away.
Athena before update:
Athena after update:
Test Cases
Simple CDK Stack to reproduce this behavior (uncomment one column to update, or do any other update):
Other Details
No response
The text was updated successfully, but these errors were encountered: