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

fix(optimizer): do not push temporal filter predicate passing the temporal join #13549

Merged
merged 8 commits into from
Dec 5, 2023

Conversation

st1page
Copy link
Contributor

@st1page st1page commented Nov 21, 2023

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.

What's changed and what's your intention?

fix #13412

Checklist

  • I have written necessary rustdoc comments
  • I have added necessary unit tests and integration tests
  • I have added test labels as necessary. See details.
  • I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features Sqlsmith: Sql feature generation #7934).
  • My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
  • All checks passed in ./risedev check (or alias, ./risedev c)
  • My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)
  • My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

  • My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note

If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

@github-actions github-actions bot added the type/fix Bug fix label Nov 21, 2023
@st1page st1page marked this pull request as draft November 21, 2023 07:02
Copy link

codecov bot commented Nov 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1c453f4) 68.23% compared to head (3ac75a0) 68.17%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13549      +/-   ##
==========================================
- Coverage   68.23%   68.17%   -0.06%     
==========================================
  Files        1525     1525              
  Lines      262188   262175      -13     
==========================================
- Hits       178899   178750     -149     
- Misses      83289    83425     +136     
Flag Coverage Δ
rust 68.17% <100.00%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@st1page st1page marked this pull request as ready for review December 5, 2023 07:03
@@ -188,56 +188,6 @@ impl LogicalJoin {
self.output_indices() == &(0..self.internal_column_num()).collect_vec()
}

/// Try to split and pushdown `predicate` into a join's left/right child or the on clause.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

no caller call it and it is a dead code before this PR.

@st1page st1page requested a review from chenzl25 December 5, 2023 07:05
Copy link
Contributor

@chenzl25 chenzl25 left a comment

Choose a reason for hiding this comment

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

LGTM

…om:risingwavelabs/risingwave into sts/fix_temporal_filter_predicate_pushdown
@st1page st1page enabled auto-merge December 5, 2023 08:19
@st1page st1page added this pull request to the merge queue Dec 5, 2023
Merged via the queue into main with commit dfb4bc2 Dec 5, 2023
26 of 27 checks passed
@st1page st1page deleted the sts/fix_temporal_filter_predicate_pushdown branch December 5, 2023 08:46
github-actions bot pushed a commit that referenced this pull request Dec 5, 2023
st1page added a commit that referenced this pull request Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/fix Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: do not push temporal filter predicate passing the temporal join
2 participants