You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Francesco Guardiani (Jira)" <ji...@apache.org> on 2021/12/14 09:33:00 UTC
[jira] [Created] (FLINK-25299) Improve LIKE operator efficiency
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)