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: support out join in broadcast join #18988

Merged
merged 4 commits into from
Aug 6, 2020

Conversation

windtalker
Copy link
Contributor

What problem does this PR solve?

Problem Summary:
TiFlash support broadcast join, and TiDB could push down joins to TiFlash to improve join queries, however, it only support inner join, for left/right join, TiDB can not push down to TiFlash.

What is changed and how it works?

Push down left/right join to TiFlash since it already support left/right join in TiFlash.

Related changes

  • Need to cherry-pick to the release branch

Check List

Tests

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

Side effects

Release note

  • support out join in broadcast join

@windtalker windtalker requested a review from a team as a code owner August 5, 2020 05:32
@windtalker windtalker requested review from lzmhhh123 and removed request for a team August 5, 2020 05:32
Copy link
Member

@hanfei1991 hanfei1991 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 Aug 5, 2020
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

@ti-srebot ti-srebot removed the status/LGT1 Indicates that a PR has LGTM 1. label Aug 5, 2020
@ti-srebot ti-srebot added the status/LGT2 Indicates that a PR has LGTM 2. label Aug 5, 2020
@lzmhhh123
Copy link
Contributor

/merge

@ti-srebot ti-srebot added the status/can-merge Indicates a PR has been approved by a committer. label Aug 5, 2020
@ti-srebot
Copy link
Contributor

Your auto merge job has been accepted, waiting for:

  • 18999

@ti-srebot
Copy link
Contributor

/run-all-tests

@ti-srebot
Copy link
Contributor

@windtalker merge failed.

@codecov
Copy link

codecov bot commented Aug 5, 2020

Codecov Report

Merging #18988 into master will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master     #18988   +/-   ##
===========================================
  Coverage   79.4990%   79.4990%           
===========================================
  Files           546        546           
  Lines        148486     148486           
===========================================
  Hits         118045     118045           
  Misses        20972      20972           
  Partials       9469       9469           

@lzmhhh123
Copy link
Contributor

/merge

@ti-srebot
Copy link
Contributor

/run-all-tests

@ti-srebot ti-srebot merged commit e49b4c0 into pingcap:master Aug 6, 2020
ti-srebot pushed a commit to ti-srebot/tidb that referenced this pull request Sep 1, 2020
Signed-off-by: ti-srebot <ti-srebot@pingcap.com>
@ti-srebot
Copy link
Contributor

cherry pick to release-4.0 in PR #19664

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/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants