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(interactive): Support Index predicate for dynamic params in IR-Core #3282

Merged
merged 8 commits into from
Oct 19, 2023

Conversation

BingqingLyu
Copy link
Collaborator

What do these changes do?

As titled.

Related issue number

#3277

@@ -191,10 +191,16 @@ message Limit {
// where the values referred by k1, k2, ... are indexed and hence the
// predicate can be efficiently verified by leveraging the index.
message IndexPredicate {
message PkValue {
Copy link
Collaborator

@longbinlai longbinlai Oct 16, 2023

Choose a reason for hiding this comment

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

Looks like PKValue is not quite necessary here, Simply define

message Triplet {
    common.Property key = 1;
    // The value can be either a constant value, or a parameter (in stored procedure) 
    one of value {
         common.Value const = 2;
         common.DynamicParam param = 3;
    }
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

Committed-by: bingqing.lbq from Dev container
@codecov-commenter
Copy link

codecov-commenter commented Oct 16, 2023

Codecov Report

Merging #3282 (54fe258) into main (7cb43e9) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3282   +/-   ##
=======================================
  Coverage   42.06%   42.06%           
=======================================
  Files         101      101           
  Lines       11021    11021           
=======================================
  Hits         4636     4636           
  Misses       6385     6385           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7cb43e9...54fe258. Read the comment docs.

longbinlai
longbinlai previously approved these changes Oct 18, 2023
Copy link
Collaborator

@longbinlai longbinlai left a comment

Choose a reason for hiding this comment

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

Can merge as long as cis passed

@zhanglei1949 zhanglei1949 changed the title fix(Interactive): Support Index predicate for dynamic params in IR-Core fix(interactive): Support Index predicate for dynamic params in IR-Core Oct 18, 2023
Copy link
Collaborator

@zhanglei1949 zhanglei1949 left a comment

Choose a reason for hiding this comment

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

LGTM

@longbinlai longbinlai merged commit f813f9b into alibaba:main Oct 19, 2023
47 checks passed
@BingqingLyu BingqingLyu deleted the ir_pkvalue branch October 19, 2023 02:57
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.

4 participants