-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[MINOR][Documentation] Fix some minor descriptions in functions consistently with expressions #15765
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
Conversation
|
It seems something wrongly gone in my local so I can't run cran-check for SparkR in my local. Please let me run this via Jenkins. |
|
Please let me cc @felixcheung and @srowen though if you don't mind. |
|
Oh, actually, it seems I should fix the ones in |
|
Test build #68124 has finished for PR 15765 at commit
|
| def randn(): Column = randn(Utils.random.nextLong) | ||
|
|
||
| /** | ||
| * Partition ID of the Spark task. |
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.
|
Test build #68125 has finished for PR 15765 at commit
|
|
It seems the newly added test seems too flaky. the specific test seems often failed. I saw this failure in series [1]https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/68125/consoleFull |
|
retest this please |
|
Test build #68126 has finished for PR 15765 at commit
|
|
Test build #68128 has finished for PR 15765 at commit
|
|
Test build #3414 has finished for PR 15765 at commit
|
|
changes LGTM. thanks. |
|
How would you write it? we do need to specify that it's a signed shift. |
|
hmm, like "shift the signed value numBits to the right"? |
|
Ah, IMHO, it seems both are fine but actually it seems there is an unsigned shift one which is described as.. So.. if any of you does not feel strongly which one is better, I hope I could leave as it is because it seems at least consistent. |
|
I think both sound odd, but it's a nit |
|
It's not a shift of a signed value, but a 'signed' shift, meaning one that preserves the sign bit. I recognize the terms "unsigned shift" and "signed shift", FWIW. |
…stently with expressions ## What changes were proposed in this pull request? This PR proposes to improve documentation and fix some descriptions equivalent to several minor fixes identified in #15677 Also, this suggests to change `Note:` and `NOTE:` to `.. note::` consistently with the others which marks up pretty. ## How was this patch tested? Jenkins tests and manually. For PySpark, `Note:` and `NOTE:` to `.. note::` make the document as below: **From**      **To**      Author: hyukjinkwon <[email protected]> Closes #15765 from HyukjinKwon/minor-function-doc. (cherry picked from commit 15d3926) Signed-off-by: Felix Cheung <[email protected]>
|
Sure then. |
|
Thank you both! |
…stently with expressions ## What changes were proposed in this pull request? This PR proposes to improve documentation and fix some descriptions equivalent to several minor fixes identified in apache#15677 Also, this suggests to change `Note:` and `NOTE:` to `.. note::` consistently with the others which marks up pretty. ## How was this patch tested? Jenkins tests and manually. For PySpark, `Note:` and `NOTE:` to `.. note::` make the document as below: **From**      **To**      Author: hyukjinkwon <[email protected]> Closes apache#15765 from HyukjinKwon/minor-function-doc.
What changes were proposed in this pull request?
This PR proposes to improve documentation and fix some descriptions equivalent to several minor fixes identified in #15677
Also, this suggests to change
Note:andNOTE:to.. note::consistently with the others which marks up pretty.How was this patch tested?
Jenkins tests and manually.
For PySpark,
Note:andNOTE:to.. note::make the document as below:From
To