ISSUE DESCRIPTION [BUG] Glue BatchDeleteTable is unsupported Service AWS Glue AWS API…
- User
ISSUE DESCRIPTION
[BUG] Glue BatchDeleteTable is unsupported
Service
AWS API Action
Expected behavior
AWS behavior supports
BatchDeleteTable. When the request contains one existing table and one missing table, AWS deletes the existing table and returns anErrorsentry for the missing table.AWS behavior verified with AWS CLI:
json{ "Errors": [ { "TableName": "missing_table", "ErrorDetail": { "ErrorCode": "EntityNotFoundException", "ErrorMessage": "Table missing_table not found" } } ] }A subsequent
GetTablefor the existing table returnsEntityNotFoundException.Actual behavior
Floci
floci/floci:1.5.22rejectsBatchDeleteTableas an unsupported action.textaws: [ERROR]: An error occurred (InvalidAction) when calling the BatchDeleteTable operation: Action BatchDeleteTable is not supportedReproduction
bashendpoint=http://localhost:4566 export AWS_ACCESS_KEY_ID=<redacted-secret> AWS_SECRET_ACCESS_KEY=<redacted-secret> AWS_DEFAULT_REGION=us-east-1 db=test_floci_batch_delete aws --endpoint-url "$endpoint" glue create-database --database-input "Name=$db" aws --endpoint-url "$endpoint" glue create-table \ --database-name "$db" \ --table-input 'Name=existing_table,StorageDescriptor={Columns=[{Name=id,Type=int}]}' aws --endpoint-url "$endpoint" glue batch-delete-table \ --database-name "$db" \ --tables-to-delete existing_table missing_table - Assistant
I'll start by exploring the repository structure and the Glue service to understand how to implement BatchDeleteTable support.
- Assistant
Let me examine the Glue service implementation and how similar batch operations are handled.
- Assistant
I'll read the Glue service and handler files next, focusing on delete-table patterns.
- Assistant
Let me continue reading the GlueService, especially the deleteTable method.
- Assistant
Now I'll inspect the JSON handler for how Glue actions are wired.
- Assistant
I'll check for batch-delete patterns and Glue tests to mirror existing conventions.
- Assistant
rg is not available, let me use grep instead.
- Assistant
There's already error-handling in GlueJsonHandler — I'll inspect that and the ECR batch-delete pattern.
- Assistant
I'll also inspect GlueService helpers and existing tests so the new method matches project style.
- Assistant
Let me also see the rest of GlueJsonHandler switch for the default case (unsupported), and look at how deleteTable currently works - it doesn't throw if table not found. For BatchDeleteTable, AWS retu...
- Assistant
I'll search the docs and changelog for any BatchDeleteTable notes, then implement the feature.
- Assistant
I'll use VersionDeletionResult as the template for batch error handling.
- Assistant
Implementing
batchDeleteTablesin the service and wiring the handler action. - Assistant
Adding the service method and error record next.
- Assistant
The edit landed in the wrong file — I'll restore GlueJsonHandler and apply the change to GlueService.
- Assistant
Updating GlueService with the batch delete method and error record.
- Assistant
I'll add the
BatchDeleteTableErrorrecord next to the other service records. - Assistant
Add the record after UserDefinedFunctionPage.
- Assistant
Wiring BatchDeleteTable into GlueJsonHandler.
- Assistant
I'll add the BatchDeleteTable case and a private handler method.
- Assistant
Inserting the BatchDeleteTable handler method.
- Assistant
Removing the duplicate method signature.
- Assistant
I'll clean up formatting around the switch, then compile and run the glue tests.
- Assistant
I need to restore the switch closing braces.
- Assistant
Verifying the final code and running the Glue unit tests.
- Assistant
sed issue with range syntax - use comma not colon.
- Assistant
Running GlueService unit tests to verify the change.
- Assistant
Need to set HOME
- Assistant
Checking whether the test run actually passed.
- Assistant
I'll write a temporary test to verify batch delete behavior end-to-end.
- Assistant
I'll check StorageFactory's interface before compiling the temporary verifier.
- Assistant
I'll add a temporary test under the Glue test package, run it, then delete it.
- Assistant
Exit was 0 — I'll re-run the temporary tests without filtering so we can see the full output.
- Assistant
Removing the temporary test file and finalizing the diff.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.