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

expression: expose the optional property on EvaluatorSuit #54798

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

YangKeao
Copy link
Member

What problem does this PR solve?

Issue Number: close #54797

Problem Summary:

Expose the optional property on the EvaluatorSuit. It can help us to implement the Detach function for ProjectionExec and SelectionExec.

What changed and how does it work?

It recursively reads the optional property of all expressions and their arguments.

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No need to test
    • I checked and no code files have been changed.

Release note

None

@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 22, 2024
@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Jul 22, 2024
Copy link

codecov bot commented Jul 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.1398%. Comparing base (07f7774) to head (f8364d6).
Report is 21 commits behind head on master.

Additional details and impacted files
@@                Coverage Diff                @@
##             master     #54798         +/-   ##
=================================================
- Coverage   74.7413%   57.1398%   -17.6015%     
=================================================
  Files          1555       1681        +126     
  Lines        363372     620843     +257471     
=================================================
+ Hits         271589     354749      +83160     
- Misses        72138     242738     +170600     
- Partials      19645      23356       +3711     
Flag Coverage Δ
integration 38.5225% <0.0000%> (?)
unit 72.9144% <100.0000%> (-0.7515%) ⬇️

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

Components Coverage Δ
dumpling 52.9656% <ø> (-2.2339%) ⬇️
parser ∅ <ø> (∅)
br 52.8170% <ø> (+5.1415%) ⬆️

@YangKeao YangKeao requested review from XuHuaiyu and removed request for windtalker July 22, 2024 08:52
Copy link

ti-chi-bot bot commented Jul 23, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lcwangchao, XuHuaiyu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added approved lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Jul 23, 2024
Copy link

ti-chi-bot bot commented Jul 23, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-07-22 07:32:13.320160331 +0000 UTC m=+857555.311101794: ☑️ agreed by lcwangchao.
  • 2024-07-23 10:24:13.900750976 +0000 UTC m=+954275.891692446: ☑️ agreed by XuHuaiyu.

@YangKeao
Copy link
Member Author

/retest

@ti-chi-bot ti-chi-bot bot merged commit 04e5ff9 into pingcap:master Jul 24, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

expose optional eval properties on EvaluatorSuit.
3 participants