Uh oh!
There was an error while loading. Please reload this page.
[SPARK-15750][MLLib][PYSPARK] Constructing FPGrowth fails when no numPartitions specified in pyspark - #13493
[SPARK-15750][MLLib][PYSPARK] Constructing FPGrowth fails when no numPartitions specified in pyspark#13493zjffdu wants to merge 2 commits into
Conversation
SparkQA
commented
Jun 3, 2016
Test build #59923 has finished for PR 13493 at commit
|
MechCoder
commented
Jun 7, 2016
lgtm cc: @MLnick |
mengxr
commented
Jun 29, 2016
Shall we change the logic in the Python wrapper and set |
SparkQA
commented
Aug 30, 2016
Test build #3236 has finished for PR 13493 at commit
|
jkbradley
commented
Sep 6, 2016
Pinging! Is this still active? |
zjffdu
commented
Sep 7, 2016
@jkbradley I will update the PR soon |
zjffdu
commented
Sep 8, 2016
@mengxr@jkbradley I think we should keep as less logic in python side as possible. So I didn't update the PR, please help review. Thanks |
SparkQA
commented
Sep 8, 2016
Test build #65071 has finished for PR 13493 at commit
|
holdenk
commented
Sep 14, 2016
This looks pretty reasonable to me, the only thing is (and its relatively minor) testing the default param might be better as a tests.py test rather than as a doc test since the doctests are part of the documentation and we might not need this in the docs along with the current example. |
jkbradley
commented
Sep 26, 2016
Same here, looks fine except for @holdenk 's comment. Thanks! |
jkbradley
commented
Oct 4, 2016
Ping --- let me know if you'd like someone to take it over. Thanks! |
zjffdu
commented
Oct 6, 2016
Sorry, I am in vacation. Will update it next week. |
holdenk
commented
Oct 6, 2016
@zjffdu Enjoy vacation and no worries - I don't think this is blocking anything and we can circle back in a week :) |
SparkQA
commented
Oct 9, 2016
Test build #66589 has finished for PR 13493 at commit
|
zjffdu
commented
Oct 9, 2016
PR is updated, @holdenk@jkbradley |
zjffdu
commented
Oct 17, 2016
ping @jkbradley@holdenk |
SparkQA
commented
Aug 24, 2017
Test build #81076 has finished for PR 13493 at commit
|
WeichenXu123
commented
Sep 29, 2017
ping @zjffdu Looks reasonable fix, But pls resolve the conflicts! Thanks! |
…Partitions specified in pyspark
SparkQA
commented
Sep 29, 2017
Test build #82315 has finished for PR 13493 at commit
|
SparkQA
commented
Sep 29, 2017
Test build #82319 has finished for PR 13493 at commit
|
gatorsmile
commented
Sep 29, 2017
retest this please |
SparkQA
commented
Sep 29, 2017
Test build #82330 has finished for PR 13493 at commit
|
lu-wang-dl
commented
Apr 24, 2018
The bug is confirmed. The fix looks pretty reasonable to me. ping @jkbradley . |
jkbradley
commented
May 1, 2018
LGTM pending fresh tests |
SparkQA
commented
May 1, 2018
Test build #4167 has finished for PR 13493 at commit
|
zjffdu
commented
May 2, 2018
Thanks @jkbradley The failed tests seems unrelated. |
lu-wang-dl
commented
May 3, 2018
LGTM retest this please |
SparkQA
commented
May 3, 2018
Test build #90147 has finished for PR 13493 at commit
|
WeichenXu123
commented
May 7, 2018
LGTM! |
Merging with master |
What changes were proposed in this pull request?
Change FPGrowth from private to private[spark]. If no numPartitions is specified, then default value -1 is used. But -1 is only valid in the construction function of FPGrowth, but not in setNumPartitions. So I make this change and use the constructor directly rather than using set method.
How was this patch tested?
Unit test is added