-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-17731][SQL][STREAMING][FOLLOWUP] Refactored StreamingQueryListener APIs #15530
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
|
Test build #67117 has finished for PR 15530 at commit
|
|
Test build #67119 has finished for PR 15530 at commit
|
| * @since 2.0.0 | ||
| */ | ||
| def onQueryProgress(queryProgress: QueryProgress): Unit | ||
| def onQueryProgress(queryProgress: QueryProgressEvent): Unit |
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.
sry i was referring to just renaming all the arguments to event... but now i look at it QueryProgressEvent also sound good!
|
@rxin Can you take a look once again. |
|
LGTM |
|
Test build #67139 has finished for PR 15530 at commit
|
…ener APIs for branch-2.0 This is the branch-2.0 PR of #15530 to make the APIs consistent with the master. Since these APIs are experimental and not direct user facing (StreamingQueryListener is advanced Structured Streaming APIs), its okay to change them in branch-2.0. ## What changes were proposed in this pull request? As per rxin request, here are further API changes - Changed `Stream(Started/Progress/Terminated)` events to `Stream*Event` - Changed the fields in `StreamingQueryListener.on***` from `query*` to `event` ## How was this patch tested? Existing unit tests. Author: Tathagata Das <tathagata.das1565@gmail.com> Closes #15535 from tdas/SPARK-17731-1-branch-2.0.
|
I am merging this. |
|
Test build #67145 has finished for PR 15530 at commit
|
…ener APIs ## What changes were proposed in this pull request? As per rxin request, here are further API changes - Changed `Stream(Started/Progress/Terminated)` events to `Stream*Event` - Changed the fields in `StreamingQueryListener.on***` from `query*` to `event` ## How was this patch tested? Existing unit tests. Author: Tathagata Das <tathagata.das1565@gmail.com> Closes apache#15530 from tdas/SPARK-17731-1.
…ener APIs ## What changes were proposed in this pull request? As per rxin request, here are further API changes - Changed `Stream(Started/Progress/Terminated)` events to `Stream*Event` - Changed the fields in `StreamingQueryListener.on***` from `query*` to `event` ## How was this patch tested? Existing unit tests. Author: Tathagata Das <tathagata.das1565@gmail.com> Closes apache#15530 from tdas/SPARK-17731-1.
What changes were proposed in this pull request?
As per @rxin request, here are further API changes
Stream(Started/Progress/Terminated)events toStream*EventStreamingQueryListener.on***fromquery*toeventHow was this patch tested?
Existing unit tests.