Skip to content

Conversation

nagaarjun-p
Copy link
Contributor

Fixed the documentation

What changes were proposed in this pull request?

There isn't much clarity on the docstring of the DataStreamWriter.foreach() method that takes an object with process() method, as a input. As part of this PR, The docstring is fixed.

Why are the changes needed?

There isn't much clarity on the docstring of the DataStreamWriter.foreach() method that takes an object with process() method, as a input.

Does this PR introduce any user-facing change?

Yes. This change modifies the docstring in the DataStreamWriter.foreach() method.

How was this patch tested?

Simple change on docstring. I haven't tested the changes. Need some support with the testing.

Was this patch authored or co-authored using generative AI tooling?

No

@HyukjinKwon HyukjinKwon changed the title Updated the docstring of DataStreamWriter.foreach() method [MINOR][DOCS] Updated the docstring of DataStreamWriter.foreach() method Jun 30, 2025
@HyukjinKwon
Copy link
Member

Mind following https://github.com/apache/spark/pull/51316/checks?check_run_id=44993571999 and rebase to make sure the tests pass?

@xinrong-meng
Copy link
Member

Would you rebase latest master to keep the commit history clean?

Fixed the documentation
@nagaarjun-p
Copy link
Contributor Author

Would you rebase latest master to keep the commit history clean?

@xinrong-meng , @HyukjinKwon - I have rebased to the latest master now. Apologies, I don't have much experience on Git and that's the reason I wasn't able to do this properly on the first time.

@the-sakthi
Copy link
Member

LGTM!

@HyukjinKwon
Copy link
Member

Merged to master.

mzhang pushed a commit to mzhang/spark that referenced this pull request Aug 21, 2025
Fixed the documentation

### What changes were proposed in this pull request?
There isn't much clarity on the docstring of the DataStreamWriter.foreach() method that takes an object with process() method, as a input. As part of this PR, The docstring is fixed.

### Why are the changes needed?
There isn't much clarity on the docstring of the DataStreamWriter.foreach() method that takes an object with process() method, as a input.

### Does this PR introduce _any_ user-facing change?
Yes. This change modifies the docstring in the DataStreamWriter.foreach() method.

### How was this patch tested?
Simple change on docstring. I haven't tested the changes. Need some support with the testing.

### Was this patch authored or co-authored using generative AI tooling?
No

Closes apache#51316 from nagaarjun-p/master.

Authored-by: Mine4106 <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants