SWE-Rebench v2 hard task
harbor run -t ibragim-badertdinov/floci-io__floci-1209harbor download ibragim-badertdinov/floci-io__floci-1209[BUG] Glue BatchDeleteTable is unsupported
AWS behavior supports BatchDeleteTable. When the request contains one existing table and one missing table, AWS deletes the existing table and returns an Errors entry 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 GetTable for the existing table returns EntityNotFoundException.
Floci floci/floci:1.5.22 rejects BatchDeleteTable as an unsupported action.
aws: [ERROR]: An error occurred (InvalidAction) when calling the BatchDeleteTable operation: Action BatchDeleteTable is not supported
endpoint=http://localhost:4566
export AWS_ACCESS_KEY_ID=test AWS_SECRET_ACCESS_KEY=test 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
floci/floci:1.5.22mvn quarkus:dev): DockerType: 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 BatchDeleteTable AWS Glue API action.