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

executor: remove joinResultGenerator.emit and rename emitToChunk to emit #6216

Merged
merged 2 commits into from
Apr 3, 2018

Conversation

XuHuaiyu
Copy link
Contributor

@XuHuaiyu XuHuaiyu commented Apr 3, 2018

As the title says.
PTAL @zz-jason @winoros

@@ -35,30 +35,26 @@ var (
// joinResultGenerator is used to generate join results according the join type, see every implementor for detailed information.
type joinResultGenerator interface {
// emit tries to join an outer row with a batch of inner rows.
// When len(inners) == 0, it means that the outer row can not be joined with any inner row:
// When inners == nil or inners.Len() == 0, it means that the outer row can not be joined with any inner row:
Copy link
Member

Choose a reason for hiding this comment

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

inners == nil is covered by len(inners) == 0

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's inners.Len, not len(inners).

@zz-jason
Copy link
Member

zz-jason commented Apr 3, 2018

LGTM

@zz-jason
Copy link
Member

zz-jason commented Apr 3, 2018

/run-all-tests

@zz-jason zz-jason added the status/LGT1 Indicates that a PR has LGTM 1. label Apr 3, 2018
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

@zz-jason zz-jason merged commit 17fb7d7 into pingcap:master Apr 3, 2018
@zz-jason zz-jason added status/LGT2 Indicates that a PR has LGTM 2. all-tests-passed and removed status/LGT1 Indicates that a PR has LGTM 1. labels Apr 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants