-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-23566][Minor][Doc] Argument name mismatch fixed #20716
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
Argument name mismatch fixed. `col` changed to `new` in doc string to match the argument list.
|
ok to test |
|
It's fine. Can you double check if there are same instances in this file or other files? |
|
Test build #87888 has finished for PR 20716 at commit
|
|
@HyukjinKwon Sure, shall do. |
|
Test build #87932 has finished for PR 20716 at commit
|
|
Test build #87934 has finished for PR 20716 at commit
|
removed trailing white space - style fix
|
Test build #87935 has finished for PR 20716 at commit
|
|
@HyukjinKwon Found couple more, have updated the same. |
HyukjinKwon
left a comment
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 otherwise
| If it is a Column, it will be used as the first partitioning column. If not specified, | ||
| the default number of partitions is used. | ||
| :param numPartitions: | ||
| can be an int to specify the target number of partitions or a Column. |
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 think it's fine to:
:param numPartitions: can be an int to specify the target number of partitions or a Column.
If it is a Column, it will be used as the first partitioning column. If not specified,
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.
Cool, was maintaining consistency with other :param on page.
python/pyspark/sql/dataframe.py
Outdated
| def alias(self, alias): | ||
| """Returns a new :class:`DataFrame` with an alias set. | ||
| :param alias: string, alias names to be set for the DataFrame. |
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.
alias names -> an alias name
|
BTW, it doesn't need a JIRA for minor fixes. Let's avoid this next time :). |
grammar
|
Test build #87936 has finished for PR 20716 at commit
|
|
Do check @gatorsmile |
|
Merged to master Sorry, I pushed this before seeing the comment above. Please do a check or followup if required or requested. |
Argument name mismatch fixed. ## What changes were proposed in this pull request? `col` changed to `new` in doc string to match the argument list. Patch file added: https://issues.apache.org/jira/browse/SPARK-23566 Please review http://spark.apache.org/contributing.html before opening a pull request. Author: Anirudh <[email protected]> Closes apache#20716 from animenon/master.
|
@HyukjinKwon Its minor, so may not be required. Had tagged Gator just for a check. |
Argument name mismatch fixed.
What changes were proposed in this pull request?
colchanged tonewin doc string to match the argument list.Patch file added: https://issues.apache.org/jira/browse/SPARK-23566
Please review http://spark.apache.org/contributing.html before opening a pull request.