-
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-13015][MLlib][DOC] Replace example code in mllib-data-types.md using include_example #14006
Conversation
Test build #61580 has finished for PR 14006 at commit
|
@@ -85,20 +85,20 @@ def select_lines(code) | |||
.select { |l, i| l.include? "$example off#{@snippet_label}$" } | |||
.map { |l, i| i } | |||
|
|||
raise "Start indices amount is not equal to end indices amount, see #{@file}." \ | |||
raise "Start indices amount is not equal to end indices amount, see #{@file}, #{@snippet_label}." \ |
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.
I'd prefer
... see #{@file} [labeled=#{@snippet_label}].
Otherwise the label itself might be mistaken for a file path.
Test build #61601 has finished for PR 14006 at commit
|
Test build #61703 has finished for PR 14006 at commit
|
Test build #61994 has finished for PR 14006 at commit
|
Hi @yinxusen thanks for working on this - can you update it against the latest master? I'm all for switching our examples to be more include based and the improved error messages during doc builds for invalid includes seems helpful for developers :) |
@holdenk I'll update a version ASAP |
Test build #66533 has finished for PR 14006 at commit
|
Closes apache#11785 Closes apache#13027 Closes apache#13614 Closes apache#13761 Closes apache#15197 Closes apache#14006 Closes apache#12576 Closes apache#15447 Closes apache#13259 Closes apache#15616 Closes apache#14473 Closes apache#16638 Closes apache#16146 Closes apache#17269 Closes apache#17313 Closes apache#17418 Closes apache#17485 Closes apache#17551 Closes apache#17463 Closes apache#17625 Closes apache#10739 Closes apache#15193 Closes apache#15344 Closes apache#14804 Closes apache#16993 Closes apache#17040 Closes apache#15180 Closes apache#17238
This pr proposed to close stale PRs. Currently, we have 400+ open PRs and there are some stale PRs whose JIRA tickets have been already closed and whose JIRA tickets does not exist (also, they seem not to be minor issues). // Open PRs whose JIRA tickets have been already closed Closes apache#11785 Closes apache#13027 Closes apache#13614 Closes apache#13761 Closes apache#15197 Closes apache#14006 Closes apache#12576 Closes apache#15447 Closes apache#13259 Closes apache#15616 Closes apache#14473 Closes apache#16638 Closes apache#16146 Closes apache#17269 Closes apache#17313 Closes apache#17418 Closes apache#17485 Closes apache#17551 Closes apache#17463 Closes apache#17625 // Open PRs whose JIRA tickets does not exist and they are not minor issues Closes apache#10739 Closes apache#15193 Closes apache#15344 Closes apache#14804 Closes apache#16993 Closes apache#17040 Closes apache#15180 Closes apache#17238 N/A Author: Takeshi Yamamuro <[email protected]> Closes apache#17734 from maropu/resolved_pr. Change-Id: Id2e590aa7283fe5ac01424d30a40df06da6098b5
What changes were proposed in this pull request?
For Scala/Python code, I add imports inside each function, which is easy to control those codes. Java import doesn't support that, so I leave them with duplications.
BTW The
tallSkinnyQR
in both Scala and Java failed when I ran the code. I'll look into them soon.How was this patch tested?
Tested manually by running new example code, and generating docs with jekyll build.