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

Enable 15 push down functions #13496

Merged
merged 12 commits into from Nov 19, 2019
Merged

Conversation

breezewish
Copy link
Member

@breezewish breezewish commented Nov 15, 2019

Signed-off-by: Breezewish me@breeswish.org

What problem does this PR solve?

Enable 15 push down functions

What is changed and how it works?

Related tests:

tikv/copr-test#21
tikv/copr-test#24
tikv/copr-test#25
tikv/copr-test#11
tikv/copr-test#9
tikv/copr-test#32
tikv/copr-test#29
tikv/copr-test#23

Check List

Tests

  • Unit test
  • Integration test

Signed-off-by: Breezewish <me@breeswish.org>
@breezewish breezewish requested a review from a team as a code owner November 15, 2019 09:30
@ghost ghost requested review from wshwsh12 and XuHuaiyu and removed request for a team November 15, 2019 09:30
Signed-off-by: Breezewish <me@breeswish.org>
@breezewish breezewish changed the title Enable 11 push down functions Enable 15 push down functions Nov 15, 2019
expression/expr_to_pb.go Outdated Show resolved Hide resolved
Signed-off-by: Breezewish <me@breeswish.org>
Signed-off-by: Breezewish <me@breeswish.org>
@codecov
Copy link

codecov bot commented Nov 18, 2019

Codecov Report

Merging #13496 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master    #13496   +/-   ##
=========================================
  Coverage   80.089%   80.089%           
=========================================
  Files          472       472           
  Lines       115499    115499           
=========================================
  Hits         92502     92502           
  Misses       15743     15743           
  Partials      7254      7254

Copy link
Contributor

@lonng lonng left a comment

Choose a reason for hiding this comment

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

LGTM

@breezewish
Copy link
Member Author

/run-all-tests

@breezewish
Copy link
Member Author

/run-all-tests

Signed-off-by: Breezewish <me@breeswish.org>
@breezewish
Copy link
Member Author

/run-all-tests

@lonng lonng requested a review from AilinKid November 18, 2019 12:24
Copy link
Contributor

@AilinKid AilinKid left a comment

Choose a reason for hiding this comment

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

LGTM

//case tipb.ScalarFuncSig_RowSig:
case tipb.ScalarFuncSig_SetVar:
f = &builtinSetVarSig{base}
//case tipb.ScalarFuncSig_ValuesDecimal:
Copy link
Contributor

Choose a reason for hiding this comment

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

The comment case means?

Copy link
Member Author

Choose a reason for hiding this comment

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

Means they are either not implemented by TiDB (so that there is no builtinXxxSig), or they are implemented but require additional parameters (like {base, xx, yy}) that I don't know how to fill for now.

@lonng
Copy link
Contributor

lonng commented Nov 19, 2019

/merge

@sre-bot sre-bot added the status/can-merge Indicates a PR has been approved by a committer. label Nov 19, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Nov 19, 2019

/run-all-tests

@sre-bot sre-bot merged commit 95eab71 into pingcap:master Nov 19, 2019
@breezewish breezewish deleted the copr-enable/1105 branch November 19, 2019 10:00
XiaTianliang pushed a commit to XiaTianliang/tidb that referenced this pull request Dec 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/can-merge Indicates a PR has been approved by a committer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants