JingsongLi commented on code in PR #7817:
URL: https://github.com/apache/paimon/pull/7817#discussion_r3224462975


##########
paimon-common/src/main/java/org/apache/paimon/predicate/Like.java:
##########
@@ -40,12 +41,31 @@ public class Like extends LeafBinaryFunction {
 
     public static final Like INSTANCE = new Like();
 
+    static final String CHAIN_CHECKER_PROPERTY = 
"paimon.predicate.like.chain-checker.enabled";
+
     private static final Cache<BinaryString, Filter<BinaryString>> CACHE =
             Caffeine.newBuilder().softValues().executor(Runnable::run).build();
 
+    private static volatile boolean chainCheckerEnabled =
+            Boolean.parseBoolean(System.getProperty(CHAIN_CHECKER_PROPERTY, 
"false"));
+
+    private static final AtomicLong chainCheckerInvocations = new AtomicLong();

Review Comment:
   Why add this? Just for test? It is better to not bother official codes.



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