Skip to content

Conversation

@zero323
Copy link
Member

@zero323 zero323 commented Aug 11, 2016

What changes were proposed in this pull request?

Replaces custom choose function with o.a.commons.math3.CombinatoricsUtils.binomialCoefficient

How was this patch tested?

Spark unit tests

@SparkQA
Copy link

SparkQA commented Aug 12, 2016

Test build #63649 has finished for PR 14614 at commit 47170b8.

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

@srowen
Copy link
Member

srowen commented Aug 12, 2016

LGTM

@srowen
Copy link
Member

srowen commented Aug 13, 2016

@zero323 actually would you mind adding a quick test in PolynomialExpansionSuite that reflects the issue reported in the JIRA? just to verify the fix

@SparkQA
Copy link

SparkQA commented Aug 13, 2016

Test build #63728 has finished for PR 14614 at commit afcee39.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Aug 13, 2016

Test build #63729 has finished for PR 14614 at commit efc95c5.

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

@zero323
Copy link
Member Author

zero323 commented Aug 13, 2016

@srowen By all means. Here you are.

asfgit pushed a commit that referenced this pull request Aug 14, 2016
…lySize

## What changes were proposed in this pull request?

Replaces custom choose function with o.a.commons.math3.CombinatoricsUtils.binomialCoefficient

## How was this patch tested?

Spark unit tests

Author: zero323 <[email protected]>

Closes #14614 from zero323/SPARK-17027.

(cherry picked from commit 0ebf7c1)
Signed-off-by: Sean Owen <[email protected]>
@asfgit asfgit closed this in 0ebf7c1 Aug 14, 2016
asfgit pushed a commit that referenced this pull request Aug 14, 2016
…lySize

Replaces custom choose function with o.a.commons.math3.CombinatoricsUtils.binomialCoefficient

Spark unit tests

Author: zero323 <[email protected]>

Closes #14614 from zero323/SPARK-17027.

(cherry picked from commit 0ebf7c1)
Signed-off-by: Sean Owen <[email protected]>
@srowen
Copy link
Member

srowen commented Aug 14, 2016

Merged to master/2.0

zzcclp pushed a commit to zzcclp/spark that referenced this pull request Aug 15, 2016
…lySize

Replaces custom choose function with o.a.commons.math3.CombinatoricsUtils.binomialCoefficient

Spark unit tests

Author: zero323 <[email protected]>

Closes apache#14614 from zero323/SPARK-17027.

(cherry picked from commit 0ebf7c1)
Signed-off-by: Sean Owen <[email protected]>
(cherry picked from commit b54a586)
@zero323 zero323 deleted the SPARK-17027 branch April 6, 2017 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants