roryqi opened a new pull request, #14766: URL: https://github.com/apache/gravitino/pull/14766
### What changes were proposed in this pull request? - Record Iceberg load-table/view authorization denials with their object, method and expression. - Return client errors for invalid catalog prefixes, non-Iceberg load targets and incompatible S3 locations, including staged creates. Preserve 403 for callers without catalog visibility. - Translate Iceberg table-definition validation errors to 400 through the Gravitino table API. - Correct custom-statistic examples and clarify that an Iceberg spec may contain multiple single-field bucket transforms. - Add a function-grant regression covering parent catalog/schema renames. ### Why are the changes needed? Denied loads can be audited as UNKNOWN, invalid requests can return generic authorization or storage errors, and copied documentation examples can fail validation. Fixes #14765 ### Does this PR introduce _any_ user-facing change? Yes. Load denials have complete authorization audit records, and the affected invalid requests return client errors before creating tables. No configuration keys are added. ### How was this patch tested? - 158 focused tests passed across `iceberg-rest-server`, `iceberg-common`, `catalog-lakehouse-iceberg`, `server-common`, `core:coreH2Test` and `core:coreUnitTest` with `-PskipITs`. - `./gradlew spotlessApply` - `git diff --check` Deployed HA and storage-service E2E tests were not run. -- 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]
