kbendick commented on a change in pull request #3938:
URL: https://github.com/apache/iceberg/pull/3938#discussion_r794144935
##########
File path: api/src/main/java/org/apache/iceberg/catalog/Namespace.java
##########
@@ -29,6 +31,8 @@
public class Namespace {
private static final Namespace EMPTY_NAMESPACE = new Namespace(new String[]
{});
private static final Joiner DOT = Joiner.on('.');
+ private static final Predicate<String> CONTAINS_WHITESPACE_OR_NULL_BYTE =
+ Pattern.compile("\\p{Zs}|\0|\u0000",
Pattern.UNICODE_CHARACTER_CLASS).asPredicate();
Review comment:
I guess whitespace wouldn't make a difference if it was put in
backticks? I can remove it and then just add the `\0` and `\u0000`.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]