-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
r/aws_glue_catalog_table: Fix removal of Parameters when updating Iceberg table #33374
Conversation
Community NoteVoting for Prioritization
For Submitters
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
% make testacc TESTARGS='-run=TestAccGlueCatalogTable_' PKG=glue
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/glue/... -v -count 1 -parallel 20 -run=TestAccGlueCatalogTable_ -timeout 180m
=== NAME TestAccGlueCatalogTable_StorageDescriptor_schemaReference
catalog_table_test.go:467: Step 1/3 error: Error running apply: exit status 1
Error: creating Glue Catalog Table (tf-acc-test-330412134046413049): InvalidInputException: Lake Formation does not support tables with schemas from Glue Schema Registry
{
RespMetadata: {
StatusCode: 400,
RequestID: "fa6748e9-f718-46ff-bc7c-36a2408612e6"
},
Message_: "Lake Formation does not support tables with schemas from Glue Schema Registry"
}
with aws_glue_catalog_table.test,
on terraform_plugin_test.tf line 18, in resource "aws_glue_catalog_table" "test":
18: resource "aws_glue_catalog_table" "test" {
=== NAME TestAccGlueCatalogTable_StorageDescriptor_schemaReferenceARN
catalog_table_test.go:510: Step 1/2 error: Error running apply: exit status 1
Error: creating Glue Catalog Table (tf-acc-test-5724533310826662585): InvalidInputException: Lake Formation does not support tables with schemas from Glue Schema Registry
{
RespMetadata: {
StatusCode: 400,
RequestID: "3d7416f1-8c10-4211-a953-27926c4aab93"
},
Message_: "Lake Formation does not support tables with schemas from Glue Schema Registry"
}
with aws_glue_catalog_table.test,
on terraform_plugin_test.tf line 18, in resource "aws_glue_catalog_table" "test":
18: resource "aws_glue_catalog_table" "test" {
--- FAIL: TestAccGlueCatalogTable_StorageDescriptor_schemaReference (29.31s)
--- FAIL: TestAccGlueCatalogTable_StorageDescriptor_schemaReferenceARN (29.72s)
--- PASS: TestAccGlueCatalogTable_Disappears_database (40.69s)
--- PASS: TestAccGlueCatalogTable_StorageDescriptorSkewedInfo_emptyBlock (43.41s)
--- PASS: TestAccGlueCatalogTable_StorageDescriptor_emptyBlock (45.21s)
--- PASS: TestAccGlueCatalogTable_disappears (46.16s)
--- PASS: TestAccGlueCatalogTable_StorageDescriptorSerDeInfo_emptyBlock (47.04s)
--- PASS: TestAccGlueCatalogTable_basic (49.57s)
--- PASS: TestAccGlueCatalogTable_partitionIndexesMultiple (50.08s)
--- PASS: TestAccGlueCatalogTable_partitionIndexesSingle (50.10s)
--- PASS: TestAccGlueCatalogTable_full (50.46s)
--- PASS: TestAccGlueCatalogTable_columnParameters (50.52s)
--- PASS: TestAccGlueCatalogTable_targetTable (51.05s)
--- PASS: TestAccGlueCatalogTable_StorageDescriptorSerDeInfo_updateValues (63.77s)
--- PASS: TestAccGlueCatalogTable_Update_addValues (65.11s)
--- PASS: TestAccGlueCatalogTable_Update_replaceValues (65.16s)
--- PASS: TestAccGlueCatalogTable_openTableFormat (66.97s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/glue 70.261s
This functionality has been released in v5.16.1 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
Add back any "managed" parameters removed during read when updating a Glue catalog table.
Relations
Closes #33370.
Relates #33157.
Output from Acceptance Testing
Before
After
Failures are unrelated to this change.