wombatu-kun commented on code in PR #19241:
URL: https://github.com/apache/hudi/pull/19241#discussion_r3557552708


##########
hudi-common/src/main/java/org/apache/hudi/common/expression/Predicates.java:
##########
@@ -486,6 +486,13 @@ public Object eval(StructLike data) {
       return false;
     }
 
+    @Override
+    public String toString() {
+      // The left expression is absent for the metadata table key filters, so 
it must not be dereferenced.

Review Comment:
   Done 73068d389c8d



##########
hudi-common/src/main/java/org/apache/hudi/common/expression/Predicates.java:
##########
@@ -486,6 +486,13 @@ public Object eval(StructLike data) {
       return false;
     }
 
+    @Override
+    public String toString() {
+      // The left expression is absent for the metadata table key filters, so 
it must not be dereferenced.
+      return left + ".startsWithAny("
+          + 
right.stream().map(Expression::toString).collect(Collectors.joining(",", "(", 
")")) + ")";

Review Comment:
   Done 73068d389c8d



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