danny0405 commented on code in PR #20517:
URL: https://github.com/apache/hudi/pull/20517#discussion_r4488682185


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/source/ExpressionEvaluators.java:
##########
@@ -409,7 +409,7 @@ public static In getInstance() {
 
     @Override
     public boolean eval(Map<String, ColumnStats> columnStatsMap) {
-      if (Arrays.stream(vals).anyMatch(Objects::isNull)) {
+      if (Arrays.stream(vals).noneMatch(Objects::nonNull)) {

Review Comment:
   can it be simplified as `allMatch(Objects::isNull)` ?



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