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

refactor: use BinaryExpr to present regex filter #1128

Merged
merged 4 commits into from
Aug 3, 2023

Conversation

tanruixiang
Copy link
Member

@tanruixiang tanruixiang commented Aug 3, 2023

Rationale

Now promql uses regexp_match macro to present the regex expr, which is not friendly for optimizing.

Detailed Changes

Test Plan

ut

@tanruixiang tanruixiang changed the title fix: use Binary Op to present regex sql fix: use BinaryExpr to present regex sql Aug 3, 2023
@tanruixiang tanruixiang marked this pull request as ready for review August 3, 2023 08:40
@jiacai2050 jiacai2050 changed the title fix: use BinaryExpr to present regex sql refactor: use BinaryExpr to present regex sql Aug 3, 2023
@jiacai2050 jiacai2050 changed the title refactor: use BinaryExpr to present regex sql refactor: use BinaryExpr to present regex condition Aug 3, 2023
@jiacai2050 jiacai2050 changed the title refactor: use BinaryExpr to present regex condition refactor: use BinaryExpr to present regex filter Aug 3, 2023
@jiacai2050 jiacai2050 merged commit cfbbcc6 into apache:main Aug 3, 2023
6 checks passed
@tanruixiang tanruixiang deleted the regex_use_binary_expr branch August 3, 2023 15:21
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.

None yet

2 participants