georgereuben opened a new pull request, #8002:
URL: https://github.com/apache/gravitino/pull/8002
<!--
1. Title: [#<issue>] <type>(<scope>): <subject>
Examples:
- "[#123] feat(operator): support xxx"
- "[#233] fix: check null before access result in xxx"
- "[MINOR] refactor: fix typo in variable name"
- "[MINOR] docs: fix typo in README"
- "[#255] test: fix flaky test NameOfTheTest"
Reference: https://www.conventionalcommits.org/en/v1.0.0/
2. If the PR is unfinished, please mark this PR as draft.
-->
### What changes were proposed in this pull request?
- Added validation for reserved words in PostgreSQL catalog capability.
- Reserved words (like pg_catalog, information_schema) are now checked for
both schema and table scopes to prevent naming conflicts.
### Why are the changes needed?
Prevents users from creating schemas or tables with names that conflict with
system catalogs or schemas.
Fix: #7979
### Does this PR introduce _any_ user-facing change?
Users will receive an error if they attempt to use reserved names for
schemas or tables in PostgreSQL catalogs.
### How was this patch tested?
UTs
--
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]