lasdf1234 opened a new pull request, #12948: URL: https://github.com/apache/gravitino/pull/12948
### What changes were proposed in this pull request? - Catalog property metadata rejects undeclared keys on create and alter upsert (`PropertiesMetadata.rejectsUnknownProperties()`). - Declare bypass prefixes: `gravitino.bypass.`, `trino.bypass.`, `flink.bypass.`, `spark.bypass.`. - Allow alter delete of undeclared keys so mistyped secrets can be cleaned up. - Unit tests for helpers, Glue mistyped `s3-*`, and fileset unknown-property rejection. Table/schema/other open property models are unchanged. ### Why are the changes needed? Undeclared catalog properties skip hidden-property redaction, so a mistyped credential property name becomes a plaintext disclosure on read/list paths. Fix: #12947 ### Does this PR introduce any user-facing change? Yes. Catalog create/alter now rejects property keys that are not declared by the provider (except declared prefixes such as `gravitino.bypass.*`). Previously unknown keys were accepted. ### How was this patch tested? - `TestPropertiesMetadataHelpers` - `TestGlueCatalogPropertiesMetadata` - `TestFilesetCloudPropertiesMetadata` Made with [Cursor](https://cursor.com) -- 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]
