Untitled conversation
- User
[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 trace the existing Glue JSON protocol/controller and table lifecycle patterns, then add the narrow service method, action routing, and compatibility-focused tests.
- Assistant
rgisn’t installed in this workspace, so I’m switching tofind/grepand keeping the inspection scoped to Glue. - Assistant
The existing single-table delete is intentionally tolerant of missing keys, so the batch method needs its own existence check. I’ll preserve that existing behavior while returning per-item AWS-shaped errors and deleting partitions through the established delete path.
- Assistant
The service and JSON action are now wired, with both a unit test for deletion/partition cleanup and an end-to-end JSON 1.1 test for the exact response shape. I’m running the focused Glue tests now.
- Assistant
The focused suite passes: 26 tests, including the end-to-end protocol case. I’m doing a final diff review for API naming, serialization annotations, and unrelated workspace changes before handing it back.
- Assistant
The repository’s Glue support matrix explicitly enumerates actions, so this user-facing addition also needs the documented table list and action count updated. No configuration or storage schema changes are required.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.