-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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
[SPARK-23132][PYTHON][ML] Run doctests in ml.image when testing #20294
Conversation
cc @MrBago and @imatiach-msft, could you take a look when you are available please? |
>>> df.count() | ||
4 | ||
5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It becomes 5 since we don't dropImageFailures
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice catch!
Test build #86268 has finished for PR 20294 at commit
|
nice fix! Great to see the doctests run. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
## What changes were proposed in this pull request? This PR proposes to actually run the doctests in `ml/image.py`. ## How was this patch tested? doctests in `python/pyspark/ml/image.py`. Author: hyukjinkwon <[email protected]> Closes #20294 from HyukjinKwon/trigger-image. (cherry picked from commit 45ad97d) Signed-off-by: hyukjinkwon <[email protected]>
Merged to master and branch-2.3. Thanks for reviewing this, @srowen, @imatiach-msft, @MrBago and @BryanCutler. |
What changes were proposed in this pull request?
This PR proposes to actually run the doctests in
ml/image.py
.How was this patch tested?
doctests in
python/pyspark/ml/image.py
.