-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
planner: add warning when use_index_merge hint's index names are invalid #15960
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/merge |
Codecov Report
@@ Coverage Diff @@
## master #15960 +/- ##
===========================================
Coverage 80.9001% 80.9001%
===========================================
Files 506 506
Lines 137577 137577
===========================================
Hits 111300 111300
Misses 17784 17784
Partials 8493 8493 |
/run-all-tests |
@francis0407 merge failed. |
/merge |
/run-all-tests |
@francis0407 merge failed. |
/merge |
Your auto merge job has been accepted, waiting for 15710 |
/run-all-tests |
@francis0407 merge failed. |
/merge |
/run-all-tests |
@francis0407 merge failed. |
/merge |
/run-all-tests |
cherry pick to release-4.0 in PR #16036 |
What problem does this PR solve?
Problem Summary:
Add warning when
use_index_merge(table, index)
hint contains invalid index name.What is changed and how it works?
How it Works:
check the index names when add hints into DataSource.
Related changes
Check List
Tests
Side effects