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:
{ "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.aws: [ERROR]: An error occurred (InvalidAction) when calling the BatchDeleteTable operation: Action BatchDeleteTable is not supportedReproduction
endpoint=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_tableEnvironment
- Floci version / image tag:
floci/floci:1.5.22 - Java SDK version (if applicable): AWS CLI
- How you're running Floci (Docker / native /
mvn quarkus:dev): Docker
Interface
Type: Function Name: batchDeleteTables Path: src/main/java/io/github/hectorvent/floci/services/glue/GlueService.java Input: String databaseName, List tableNames Output: List<GlueService.BatchDeleteTableError> Description: Deletes multiple tables by name within a database, skipping and reporting errors for any tables that are not found. Use this to process the
BatchDeleteTableAWS Glue API action. - Floci version / image tag:
- Assistant
I’ll trace the Glue action dispatch, service interfaces, and response models, then implement the missing action consistently with nearby batch operations. I’ll run targeted tests (and the broader relevant suite if available), inspect the diff, and only submit once behavior and edge cases are verified.
- Assistant
The Glue handler has a direct action switch and the service’s current single-table deletion is intentionally idempotent, so batch behavior must check existence before deleting rather than rely on
deleteTable. I’ll add a service result record matching the existing S3 batch-result pattern, validate the database once, preserve each requested table name in any error, and serialize AWS’s nestedErrorDetailshape with anErrorsarray (including an empty array on full success). - Assistant
The first edit command could not run because this environment lacks the
python3executable; no files were changed. I’ll apply the same small edits using the repository’s available shell tooling, then compile and test. - Assistant
The implementation is now in place and the diff is clean. I’ll run the Glue unit tests and a compile, then inspect the generated code and test the service-level mixed existing/missing behavior.
- Assistant
Compilation initially exposed a tooling-edit artifact (a Perl heredoc marker accidentally entered the Java file); I removed it, and both
GlueServiceTestand the full compile now pass. The final code has no such artifact. I’ll run the remaining Glue tests if practical and review status/diff before submission.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.