Francesco Guardiani created FLINK-25299:
-------------------------------------------

             Summary: Improve LIKE operator efficiency
                 Key: FLINK-25299
                 URL: https://issues.apache.org/jira/browse/FLINK-25299
             Project: Flink
          Issue Type: Technical Debt
          Components: Table SQL / Runtime
            Reporter: Francesco Guardiani


Right now LIKE is implemented using regexes (check {{SqlLikeUtils}} provided by 
https://issues.apache.org/jira/browse/FLINK-25282).

We can improve it either removing the regex based implementation and manually 
implementing the matching code, or we can at least improve it caching the regex 
in the codegen assigning the pattern to a field of the generated function, as 
parsing the pattern is usually an expensive operation.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to