[ 
https://issues.apache.org/jira/browse/ARROW-12715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17347180#comment-17347180
 ] 

David Li commented on ARROW-12715:
----------------------------------

Impala checks if the pattern can be converted into a 
prefix/suffix/substring/exact match search, or else converts the pattern into a 
regex: 
[https://github.com/apache/impala/blob/9c38568657d62b6f6d7b10aa1c721ba843374dd8/be/src/exprs/like-predicate.cc#L63-L108]

We could do something similar.

> [C++] SQL-style glob string match kernel
> ----------------------------------------
>
>                 Key: ARROW-12715
>                 URL: https://issues.apache.org/jira/browse/ARROW-12715
>             Project: Apache Arrow
>          Issue Type: New Feature
>          Components: C++
>            Reporter: Ian Cook
>            Priority: Major
>
> Similar to the SQL {{LIKE}} and {{ILIKE}} operators, with wildcard {{_}} 
> matching a single character and wildcard {{%}} matching multiple characters, 
> and an option controlling case sensitivity



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to