diqiu50 opened a new issue, #12009:
URL: https://github.com/apache/gravitino/issues/12009

   ### What would you like to be improved?
   
   `CapabilityHelpers` currently normalizes names using a hardcoded rule: if 
`caseSensitiveOnName(scope)` is unsupported, it lowercases the name. This 
doesn't work for catalogs with different native case sensitivity behavior — 
e.g. a catalog that normalizes to uppercase by default, or one that supports 
both a case-sensitive quoted form and a case-insensitive unquoted form (such as 
Oracle).
   
   ### How should we improve?
   
   Add a `default String normalizeName(Scope scope, String name)` method to 
`Capability`, defaulting to the existing lowercase-normalization behavior for 
backward compatibility. `CapabilityHelpers` should call `normalizeName` instead 
of re-implementing the normalization logic inline, so catalogs can override it 
with custom case sensitivity rules.


-- 
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]

Reply via email to