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

feat: put all filter exprs in a filter plan separately #3288

Merged
merged 1 commit into from Feb 6, 2024

Conversation

waynexia
Copy link
Member

@waynexia waynexia commented Feb 6, 2024

I hereby agree to the terms of the GreptimeDB CLA

What's changed and what's your intention?

The promql planner is used to construct a table scan plan with inlined filter. But it turns out that (1) not all filters are supported to be in table scan and (2) substrait encoder will discard those inlined filters. Thus this PR put all filters into a dedicated plan to make sure they are executed.

Checklist

  • I have written the necessary rustdoc comments.
  • I have added the necessary unit tests and integration tests.
  • This PR does not require documentation updates.

Refer to a related PR or issue link (optional)

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
@github-actions github-actions bot added Size: S docs-not-required This change does not impact docs. labels Feb 6, 2024
@waynexia waynexia added this pull request to the merge queue Feb 6, 2024
Copy link

codecov bot commented Feb 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (74bfb09) 85.67% compared to head (931b135) 85.21%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3288      +/-   ##
==========================================
- Coverage   85.67%   85.21%   -0.47%     
==========================================
  Files         865      865              
  Lines      141034   141035       +1     
==========================================
- Hits       120836   120180     -656     
- Misses      20198    20855     +657     

Merged via the queue into GreptimeTeam:main with commit e4cd294 Feb 6, 2024
17 checks passed
@waynexia waynexia deleted the pushdown-prom branch February 6, 2024 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-not-required This change does not impact docs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants