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

update tipb to make it compatible with tidb #1397

Merged
merged 3 commits into from
Jan 29, 2021

Conversation

windtalker
Copy link
Contributor

@windtalker windtalker commented Jan 27, 2021

What problem does this PR solve?

Issue Number: close #1363

Problem Summary:
TiDB add some ScalarFuncSigs for minus and divide expression, since TiFlash support expr pushdown for these two expression, we need to update the tipb make TiFlash compatible with the change, otherwise, related TiDB pr will never get merged because tics test always failed.

What is changed and how it works?

Proposal: xxx

What's Changed:

How it Works:
Support newly added ScalarFuncSigs. Note the behavior of minus and intDiv is not changed, which means we still might have compatibility issues for minus and intDiv, but this pr is enough to un-block TiDB pr.

Related changes

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression
    • Consumes more CPU
    • Consumes more MEM
  • Breaking backward compatibility

Release note

  • No release note

@windtalker windtalker added the type/enhancement The issue or PR belongs to an enhancement. label Jan 27, 2021
Copy link
Contributor

@zanmato1984 zanmato1984 left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-srebot ti-srebot added the status/LGT1 Indicates that a PR has LGTM 1. label Jan 29, 2021
@windtalker windtalker added the status/can-merge Indicates a PR has been approved by a committer. label Jan 29, 2021
@ti-srebot
Copy link
Collaborator

/run-all-tests

@ti-srebot ti-srebot merged commit 7bcc2f6 into pingcap:master Jan 29, 2021
@windtalker windtalker deleted the update_tipb branch January 29, 2021 06:19
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. status/LGT1 Indicates that a PR has LGTM 1. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TiDB refines arithmeticMinusIntSig, TiFlash need to be updated according to relevant changes
3 participants