-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[MINOR][PYSPARK][DOCS] Fix typo in example documentation #26299
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
Under the `foreachBatch` function, the example code was calling the `foreach()` function by mistake
ok to test |
Can you check if there are some more typos while we're here? I am sure there are more. |
Test build #112873 has finished for PR 26299 at commit
|
Fixed minor documentation issues with grammar
Fixed slight documentation typo with cube function
@HyukjinKwon He's just fixing some errors he's come across while going through the documentation. It would probably be best to take these fixes as they are now and to file more PRs later if he comes across them. |
Test build #112931 has finished for PR 26299 at commit
|
Change all default True and False values to consistent ``True`` or ``False``
Test build #112934 has finished for PR 26299 at commit
|
The save method in this class did not have a proper example using the save function
Test build #112936 has finished for PR 26299 at commit
|
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.
Yep several good catches in there
Make the use of the word DataFrame consistent across documentation
Test build #112938 has finished for PR 26299 at commit
|
Test build #112940 has finished for PR 26299 at commit
|
Some of the lines were > 100
Test build #112953 has finished for PR 26299 at commit
|
Test build #112957 has finished for PR 26299 at commit
|
Test build #112958 has finished for PR 26299 at commit
|
Test build #112969 has finished for PR 26299 at commit
|
Test build #112970 has finished for PR 26299 at commit
|
<= 100 characters per line
Test build #112971 has finished for PR 26299 at commit
|
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.
The UT failure seems to be the last blocker for this PR. Could you fix that in this PR?
update save() example code to match the DF columns
Test build #112973 has finished for PR 26299 at commit
|
Changed save mode to overwrite in save() documentation example
Test build #113045 has finished for PR 26299 at commit
|
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.
@mstill3 . Please update the PR to use |
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 for the others.
Update save() documentation example to create the file in the temp directory instead of in the root
Test build #113099 has finished for PR 26299 at commit
|
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.
Thank you again for your first contribution, @mstill3 .
Thank you, @srowen, @HyukjinKwon , and @vegerot
Merged to master.
@mstill3 . Since this is useful for users, could you make a PR for |
What changes were proposed in this pull request?
I propose that we change the example code documentation to call the proper function .
For example, under the
foreachBatch
function, the example code was calling theforeach()
function by mistake.Why are the changes needed?
I suppose it could confuse some people, and it is a typo
Does this PR introduce any user-facing change?
No, there is no "meaningful" code being change, simply the documentation
How was this patch tested?
I made the change on a fork and it still worked