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: return an error when finding some expressions cannot be pushed down to avoid panic (#16671) #16868

Closed

Conversation

sre-bot
Copy link
Contributor

@sre-bot sre-bot commented Apr 27, 2020

cherry-pick #16671 to release-3.1


What problem does this PR solve?

Issue Number: the first step to fix #16597

Problem Summary: in #16597, TiDB tries to convert some expressions which cannot be pushed down to PB data, which causes a panic.
And we don't know which expression causes this problem.

What is changed and how it works?

When converting expressions to PB data, if it finds some expression cannot be pushed down, return an error with information of that expression.

@sre-bot
Copy link
Contributor Author

sre-bot commented Apr 27, 2020

/run-all-tests

@qw4990
Copy link
Contributor

qw4990 commented Apr 27, 2020

Close due to no need to pick to v3.0.

@qw4990 qw4990 closed this Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants