Skip to content

planner: report warning when mpp join can't be selected whether it is MPPTask.#26487

Merged
ti-chi-bot merged 6 commits into
pingcap:masterfrom
LittleFall:bugfix/littlejoinfix
Jul 23, 2021
Merged

planner: report warning when mpp join can't be selected whether it is MPPTask.#26487
ti-chi-bot merged 6 commits into
pingcap:masterfrom
LittleFall:bugfix/littlejoinfix

Conversation

@LittleFall
Copy link
Copy Markdown
Contributor

@LittleFall LittleFall commented Jul 22, 2021

What problem does this PR solve?

Issue Number: close #xxx

Problem Summary: #26246 add warnings about joins when tidb_enforce_mpp is enabled, but there is an assumption that the task type is 'MPPTask'. Unfortunately, this is not true, but #25450 will make at least one of the planned explorations when enforce_mpp is turned on to be mpp_enforce=true.

What is changed and how it works?

Proposal: xxx

What's Changed: report warning when mpp join can't be selected whether it is MPPTask.

Check List

Tests

  • Unit test
  • Integration test

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

  • No release note

@LittleFall LittleFall requested a review from fzhedu July 22, 2021 14:10
@ti-chi-bot ti-chi-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jul 22, 2021
@ti-chi-bot ti-chi-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 22, 2021
Copy link
Copy Markdown
Contributor

@fzhedu fzhedu 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-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label Jul 22, 2021
LittleFall added a commit to ti-srebot/tidb that referenced this pull request Jul 23, 2021
Copy link
Copy Markdown
Contributor

@windtalker windtalker 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-chi-bot
Copy link
Copy Markdown
Member

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • fzhedu
  • windtalker

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

The full list of commands accepted by this bot can be found here.

Details

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Jul 23, 2021
@LittleFall
Copy link
Copy Markdown
Contributor Author

/merge

@ti-chi-bot
Copy link
Copy Markdown
Member

This pull request has been accepted and is ready to merge.

DetailsCommit hash: 858901c

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Jul 23, 2021
@ti-chi-bot ti-chi-bot merged commit a414603 into pingcap:master Jul 23, 2021
@LittleFall LittleFall deleted the bugfix/littlejoinfix branch September 16, 2021 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/S Denotes a PR that changes 10-29 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants