sarthaksin1857 opened a new pull request, #19224: URL: https://github.com/apache/iceberg/pull/19224
`SupportsBulkOperations.deleteFiles` only reports a failure count, so callers can't tell which files failed or why without parsing cloud-specific errors. This adds `FailureCategory`, `FileFailure` and `FailureHandler`, plus a default `deleteFiles(paths, handler)` overload that delegates to the existing method. Missing objects count as success and are not reported. No `FileIO` implements the overload yet; S3, GCS and ADLS follow in separate PRs. Test plan: `FailureCategory.fromHttpStatus` maps each status class to the right category, and `FailureHandler` tolerates a null or throwing handler. --- **AI Disclosure** - Model: Claude Sonnet 5.5 - Platform/Tool: Claude Code - Human Oversight: [unknown - human to fill in] - Prompt Summary: Split an oversized FileIO failure-handler PR; this is the API-only slice. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
