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 start by exploring the repository structure and how Glue services implement similar batch operations.
- Assistant
Next I'll inspect GlueService and GlueJsonHandler for how DeleteTable and other batch actions are wired.
- Assistant
rg is not found, I'll use grep instead.
- Assistant
Need to use grep -r
- Assistant
I'll open GlueService and the relevant handler sections, plus AGENTS.md for implementation patterns.
- Assistant
Let me read the deleteTable method and more of GlueService, as well as GlueJsonHandler for DeleteTable pattern and any similar batch error patterns in the codebase.
- Assistant
There's already a batch-delete error pattern in the schema registry—I'll inspect that and GlueJsonHandler next.
- Assistant
I'll review existing Glue tests and tableKey helpers so batch delete matches the current patterns.
- Assistant
I'll check VersionDeletionResult, the unsupported-action path, and how similar batch APIs are structured.
- Assistant
I'll check list-parsing patterns and the UserDefinedFunctionPage record placement in GlueService.
- Assistant
Let me also look at how JSON arrays of strings are typically read - maybe using mapper.
- Assistant
Implementing
batchDeleteTablesin GlueService and wiring theBatchDeleteTableaction in the handler. - Assistant
Adding the
BatchDeleteTableErrorrecord next to the other service records. - Assistant
Wiring
BatchDeleteTableinto GlueJsonHandler. - Assistant
Adding the
handleBatchDeleteTablemethod next to the other table handlers. - Assistant
I'll run a temporary unit-style check against GlueService and confirm existing Glue tests still pass.
- Assistant
Running GlueServiceTest and checking for a simple integration path to exercise BatchDeleteTable.
- Assistant
HOME isn't set in this environment — I'll set it and rerun the tests.
- Assistant
Confirming the test result and adding a short local smoke check for
batchDeleteTables. - Assistant
I'll smoke-test
batchDeleteTableswith a small temporary program on the compiled classpath. - Assistant
I'll drop a temporary test in the existing package, run it, then remove it.
- Assistant
Checking StorageFactory and the test factory to fix the temp test setup.
- Assistant
Checking AwsException's API and updating the temporary test accordingly.
- Assistant
Confirming the temp test exit code, then removing that temporary test file.
- Assistant
Final review of the diff before submitting.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.