tengqm commented on issue #6544:
URL: https://github.com/apache/gravitino/issues/6544#issuecomment-2823723270

   There is nothing wrong in adding '-' to the regular expression for matching, 
but we are not supposed to do this only for catalog. This is a much more 
generic problem for all entities, including metalake, schema, fileset, table, 
fileset, model, etc.
   
   Why?
   
   The reason is that we are using them in the path for APIs. There is a well 
established standard for this ... RFC1123 DNS label names. Basically, the 
requirement for all these entity names should be something like:
   
   > The entity name must consist of alphanumeric characters, '`-`', '`_`' or 
'`.`',
   > and must start and end with an alphanumeric character.
   > The name must be less than 63 characters and it cannot be empty.
   
   I don't think we want to reinvent the same protocol for all entities.
   


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