[SPARK-14907][MLLIB] Use repartition in GLMRegressionModel.save#12676
[SPARK-14907][MLLIB] Use repartition in GLMRegressionModel.save#12676dongjoon-hyun wants to merge 1 commit intoapache:masterfrom dongjoon-hyun:SPARK-14907
Conversation
|
Test build #56947 has finished for PR 12676 at commit
|
|
Hi, @jkbradley . |
|
LGTM. ("save/load" test case in |
|
Thank you for review, @MLnick ! |
|
Hi, @mengxr . |
|
This isn't really changing anything, and I actually think this makes the DF creation less similar to most spark.mllib save methods in terms of code style. I'd prefer to close this issue. |
|
If you think so, it's okay, @jkbradley . TODO comments always mislead community developer like me. |
|
In fact, I didn't try to change that if it's just a style problem. |
|
Oh, I apologize; I missed the TODO removal. You're right; that should have been removed previously when the sc.parallelize call was changed to use 1 partition. It looks like that's the only remaining mention of SPARK-5532 in the codebase, so your fix be it. |
|
LGTM |
|
Oh, thank YOU, @jkbradley . |
What changes were proposed in this pull request?
This PR changes
GLMRegressionModel.savefunction like the following code that is similar to other algorithms' parquet write.How was this patch tested?
Manual.