Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve likespeed #13570

Merged
merged 11 commits into from
Sep 22, 2024
Merged

Improve likespeed #13570

merged 11 commits into from
Sep 22, 2024

Conversation

linxt20
Copy link
Contributor

@linxt20 linxt20 commented Sep 20, 2024

This work is mainly part of the work to improve the efficiency of like matching, mainly including the following modifications:

  • Modify the call to the template processing function in like, and delete the redundant code for template processing
  • Use the new template class and matching class LikePattern and LikeMatcher at the same time, modify the call of the template class and the call of the matching method
  • Distinguish the call of regexp and like, and implement likecolumntransformer and liketransformer
  • Modify the use call of like in the original test, add the test of escape setting of like in the table model and the test of the functional correctness of like

pom.xml Outdated
@@ -40,6 +40,7 @@
<module>distribution</module>
<module>example</module>
<module>library-udf</module>
<module>integration-test</module>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<module>integration-test</module>

@JackieTien97 JackieTien97 merged commit 97e5c35 into apache:master Sep 22, 2024
35 of 36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants