xuzifu666 commented on code in PR #4886:
URL: https://github.com/apache/calcite/pull/4886#discussion_r3090425939


##########
arrow/src/test/java/org/apache/calcite/adapter/arrow/ArrowAdapterTest.java:
##########
@@ -1167,4 +1109,88 @@ static void initializeArrowState(@TempDir Path 
sharedTempDir)
         .returns(result)
         .explainContains(plan);
   }
+
+  /** Test case for
+   * <a 
href="https://issues.apache.org/jira/browse/CALCITE-7472";>[CALCITE-7472]
+   * Arrow adapter should support like operator push down</a>. */
+  @Test void testArrowProjectFieldsWithLikePrefixFilter() {

Review Comment:
   Currently, no third-party tools have been used for verification, my view is 
that the test data is in the standard Apache Arrow IPC file format, and the 
test results are correct. This may indirectly prove that the plan is correct. 
   
   In addition, I also checked the registration of the gandiva function, which 
shows that the like statement supports pushdown (see 
reference:https://github.com/apache/arrow/blob/main/cpp/src/gandiva/function_registry_string.cc#L210).



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