justinmclean opened a new issue, #7635:
URL: https://github.com/apache/gravitino/issues/7635
### What would you like to be improved?
In api/src/main/java/org/apache/gravitino/Namespace.java fromString method
checks can be added to see if the namespace starts with a dot or contains a
double dot.
### How should we improve?
Add:
```
Preconditions.checkArgument(!namespace.startsWith("."), "Cannot create a
namespace starting with a dot");
Preconditions.checkArgument(!namespace.contains(".."), "Cannot create a
namespace with an empty level");
```
--
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]