jerryshao commented on code in PR #6524:
URL: https://github.com/apache/gravitino/pull/6524#discussion_r1974635303
##########
core/src/main/java/org/apache/gravitino/catalog/EntityCombinedFileset.java:
##########
@@ -77,6 +77,7 @@ public String storageLocation() {
public Map<String, String> properties() {
return fileset.properties().entrySet().stream()
.filter(p -> !hiddenProperties.contains(p.getKey()))
+ .filter(entry -> entry.getKey() != null && entry.getValue() != null)
Review Comment:
It is not a common case, but for Java's `Map` definition, key or value can
be null, and it relies on the different `Map` implementations like HashMap,
TreeMap, etc, which has different requirement.
--
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]