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

planner: add warning when use_index_merge hint's index names are invalid #15960

Merged
merged 4 commits into from
Apr 3, 2020

Conversation

francis0407
Copy link
Member

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

  • Need to cherry-pick to the release branch 4.0

Check List

Tests

  • Integration test

Side effects

@francis0407 francis0407 requested a review from a team as a code owner April 1, 2020 08:47
@ghost ghost requested review from lzmhhh123 and removed request for a team April 1, 2020 08:47
@francis0407 francis0407 requested a review from winoros April 1, 2020 09:08
Copy link
Member

@winoros winoros left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@lzmhhh123 lzmhhh123 left a comment

Choose a reason for hiding this comment

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

LGTM

@lzmhhh123 lzmhhh123 added status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. labels Apr 2, 2020
@francis0407
Copy link
Member Author

/merge

@codecov
Copy link

codecov bot commented Apr 2, 2020

Codecov Report

Merging #15960 into master will not change coverage by %.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master     #15960   +/-   ##
===========================================
  Coverage   80.9001%   80.9001%           
===========================================
  Files           506        506           
  Lines        137577     137577           
===========================================
  Hits         111300     111300           
  Misses        17784      17784           
  Partials       8493       8493           

@sre-bot
Copy link
Contributor

sre-bot commented Apr 2, 2020

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Apr 2, 2020

@francis0407 merge failed.

@francis0407
Copy link
Member Author

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Apr 2, 2020

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Apr 2, 2020

@francis0407 merge failed.

@francis0407
Copy link
Member Author

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Apr 3, 2020

Your auto merge job has been accepted, waiting for 15710

@sre-bot
Copy link
Contributor

sre-bot commented Apr 3, 2020

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Apr 3, 2020

@francis0407 merge failed.

@francis0407
Copy link
Member Author

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Apr 3, 2020

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Apr 3, 2020

@francis0407 merge failed.

@francis0407
Copy link
Member Author

/merge

@sre-bot
Copy link
Contributor

sre-bot commented Apr 3, 2020

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Apr 3, 2020

cherry pick to release-4.0 in PR #16036

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/planner SIG: Planner status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. type/bugfix This PR fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants