SimonSchneider commented on code in PR #5896:
URL: https://github.com/apache/arrow-datafusion/pull/5896#discussion_r1160046859


##########
datafusion/core/tests/sqllogictests/test_files/select.slt:
##########
@@ -230,3 +230,10 @@ select CASE
 END;
 ----
 2
+
+# like and ilike for LargeUtf8
+# issue: https://github.com/apache/arrow-datafusion/issues/5893
+query B
+select arrow_cast('foo', 'LargeUtf8') like '%foo%';

Review Comment:
   I guess a more comprehensive test would be 
   ```
   select arrow_cast('foobar', 'LargeUtf8') like '%oba%';
   —-
   true
   
   
   select arrow_cast('FooBar', 'LargeUtf8') like '%oba%';
   —-
   true
   ```
   
   
   
https://www.postgresql.org/docs/7.3/functions-matching.html#:~:text=The%20keyword%20ILIKE%20can%20be,and%20~~*%20corresponds%20to%20ILIKE%20.



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