1 Answer
- Newest
- Most votes
- Most comments
1
Hello Don, Thank you very much for your question. The error you're encountering, "Unexpected key 'TableId' found in params.TableInput," suggests that there is an unexpected key being passed in the parameters when you try to save the new table version. This is not directly related to the JSON schema you are editing but rather to the parameters being passed to the AWS Glue API. In order to troubleshoot the issue, you could try the following:
- Use AWS CLI or SDK to Update Schema: To bypass the issue, you can use the AWS CLI or one of the AWS SDKs to update the schema directly.
- Double-check Table Input JSON: Ensure that the JSON structure you are using does not include any extraneous fields. It should strictly follow the structure expected by AWS Glue.
- Update Schema Through AWS Glue Console: As a workaround, you can try to update the schema through the AWS Glue Console in a different way:
- Navigate to the AWS Glue Console: Go to the "Tables" section and select your table, edit the schema through the console instead of JSON editing.
- Check AWS Glue API Documentation: Review the AWS Glue API documentation for the updateTable or createTable method to ensure you are passing the correct parameters. The TableInput object should not contain a TableId.
If the issue persists, consider reaching out to AWS Support for further assistance
answered 4 months ago
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 years ago
I've retried the "Edit schema as JSON" method without making any other changes, and it works now. I'm guessing there was a bug that got fixed.