Skip to content

[MINOR][DOC] Fix documentation for structured streaming - addListener.#35562

Closed
yeskarthik wants to merge 1 commit intoapache:masterfrom
yeskarthik:fix-structured-streaming-docs-1
Closed

[MINOR][DOC] Fix documentation for structured streaming - addListener.#35562
yeskarthik wants to merge 1 commit intoapache:masterfrom
yeskarthik:fix-structured-streaming-docs-1

Conversation

@yeskarthik
Copy link
Contributor

What changes were proposed in this pull request?

This PR fixes the incorrect documentation in Structured Streaming Guide where it says sparkSession.streams.attachListener() instead of sparkSession.streams.addListener() which is the correct usage as mentioned in the code snippet below in the same doc.

image

Why are the changes needed?

The documentation was erroneous, and needs to be fixed to avoid confusion by readers

Does this PR introduce any user-facing change?

Yes, since it's a doc fix. This fix needs to be applied to previous versions retro-actively as well.

How was this patch tested?

Not necessary

@github-actions github-actions bot added the DOCS label Feb 18, 2022
@yeskarthik
Copy link
Contributor Author

@HyukjinKwon can you please take a look at this minor doc fix?

HyukjinKwon pushed a commit that referenced this pull request Feb 18, 2022
### What changes were proposed in this pull request?

This PR fixes the incorrect documentation in Structured Streaming Guide where it says `sparkSession.streams.attachListener()` instead of `sparkSession.streams.addListener()` which is the correct usage as mentioned in the code snippet below in the same doc.

![image](https://user-images.githubusercontent.com/298735/154593814-0a865311-b168-4929-b4af-a8c939168f26.png)

### Why are the changes needed?

The documentation was erroneous, and needs to be fixed to avoid confusion by readers

### Does this PR introduce _any_ user-facing change?

Yes, since it's a doc fix. This fix needs to be applied to previous versions retro-actively as well.

### How was this patch tested?

Not necessary

Closes #35562 from yeskarthik/fix-structured-streaming-docs-1.

Authored-by: Karthik Subramanian <karsubr@microsoft.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 837248a)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
HyukjinKwon pushed a commit that referenced this pull request Feb 18, 2022
### What changes were proposed in this pull request?

This PR fixes the incorrect documentation in Structured Streaming Guide where it says `sparkSession.streams.attachListener()` instead of `sparkSession.streams.addListener()` which is the correct usage as mentioned in the code snippet below in the same doc.

![image](https://user-images.githubusercontent.com/298735/154593814-0a865311-b168-4929-b4af-a8c939168f26.png)

### Why are the changes needed?

The documentation was erroneous, and needs to be fixed to avoid confusion by readers

### Does this PR introduce _any_ user-facing change?

Yes, since it's a doc fix. This fix needs to be applied to previous versions retro-actively as well.

### How was this patch tested?

Not necessary

Closes #35562 from yeskarthik/fix-structured-streaming-docs-1.

Authored-by: Karthik Subramanian <karsubr@microsoft.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 837248a)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
HyukjinKwon pushed a commit that referenced this pull request Feb 18, 2022
### What changes were proposed in this pull request?

This PR fixes the incorrect documentation in Structured Streaming Guide where it says `sparkSession.streams.attachListener()` instead of `sparkSession.streams.addListener()` which is the correct usage as mentioned in the code snippet below in the same doc.

![image](https://user-images.githubusercontent.com/298735/154593814-0a865311-b168-4929-b4af-a8c939168f26.png)

### Why are the changes needed?

The documentation was erroneous, and needs to be fixed to avoid confusion by readers

### Does this PR introduce _any_ user-facing change?

Yes, since it's a doc fix. This fix needs to be applied to previous versions retro-actively as well.

### How was this patch tested?

Not necessary

Closes #35562 from yeskarthik/fix-structured-streaming-docs-1.

Authored-by: Karthik Subramanian <karsubr@microsoft.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 837248a)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
@HyukjinKwon
Copy link
Member

Merged to master, branch-3.2, branch-3.1 and branch-3.0.

@yeskarthik
Copy link
Contributor Author

Thank you for merging @HyukjinKwon! That's my first commit :)

kazuyukitanimura pushed a commit to kazuyukitanimura/spark that referenced this pull request Aug 10, 2022
### What changes were proposed in this pull request?

This PR fixes the incorrect documentation in Structured Streaming Guide where it says `sparkSession.streams.attachListener()` instead of `sparkSession.streams.addListener()` which is the correct usage as mentioned in the code snippet below in the same doc.

![image](https://user-images.githubusercontent.com/298735/154593814-0a865311-b168-4929-b4af-a8c939168f26.png)

### Why are the changes needed?

The documentation was erroneous, and needs to be fixed to avoid confusion by readers

### Does this PR introduce _any_ user-facing change?

Yes, since it's a doc fix. This fix needs to be applied to previous versions retro-actively as well.

### How was this patch tested?

Not necessary

Closes apache#35562 from yeskarthik/fix-structured-streaming-docs-1.

Authored-by: Karthik Subramanian <karsubr@microsoft.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 837248a)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants