Skip to content

Conversation

@ConeyLiu
Copy link
Contributor

What changes were proposed in this pull request?

Add mapPartitionsWithIndex for RDDBarrier.

Why are the changes needed?

There is only one method in RDDBarrier. We often use the partition index as a label for the current partition. We need to get the index from TaskContext index in the method of mapPartitions which is not convenient.

Does this PR introduce any user-facing change?

No

How was this patch tested?

New UT.

@ConeyLiu
Copy link
Contributor Author

Hi @jiangxb1987, could you help to review this?

@ConeyLiu
Copy link
Contributor Author

thanks @huaxingao for the review. The comments have addressed.

Copy link
Contributor

@jiangxb1987 jiangxb1987 left a comment

Choose a reason for hiding this comment

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

sounds good, also cc @mengxr

@jiangxb1987
Copy link
Contributor

LGTM

@huaxingao
Copy link
Contributor

LGTM
@jiangxb1987 Could you please start Jenkins?

@jiangxb1987
Copy link
Contributor

Retest this please.

@cloud-fan
Copy link
Contributor

ok to test

@SparkQA
Copy link

SparkQA commented Oct 23, 2019

Test build #112524 has finished for PR 26148 at commit 437aadf.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@jiangxb1987
Copy link
Contributor

Thanks, merged to master!

@ConeyLiu
Copy link
Contributor Author

thanks all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants