Skip to content

Conversation

@tdas
Copy link
Contributor

@tdas tdas commented Oct 18, 2016

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.

@SparkQA
Copy link

SparkQA commented Oct 18, 2016

Test build #67117 has finished for PR 15530 at commit 08a75ea.

  • This patch fails MiMa tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@tdas
Copy link
Contributor Author

tdas commented Oct 18, 2016

@rxin @marmbrus Please take a look at the API changes.

@SparkQA
Copy link

SparkQA commented Oct 18, 2016

Test build #67119 has finished for PR 15530 at commit c263914.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

* @since 2.0.0
*/
def onQueryProgress(queryProgress: QueryProgress): Unit
def onQueryProgress(queryProgress: QueryProgressEvent): Unit
Copy link
Contributor

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!

@tdas
Copy link
Contributor Author

tdas commented Oct 18, 2016

@rxin Can you take a look once again.
Note that there is a separate PR for the same changes in branch-2.0 (with different Mima excludes) - https://github.com/apache/spark/pull/15535/files

@rxin
Copy link
Contributor

rxin commented Oct 18, 2016

LGTM

@SparkQA
Copy link

SparkQA commented Oct 18, 2016

Test build #67139 has finished for PR 15530 at commit 0257b9e.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

asfgit pushed a commit that referenced this pull request Oct 19, 2016
…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.
@tdas
Copy link
Contributor Author

tdas commented Oct 19, 2016

I am merging this.

@asfgit asfgit closed this in 941b3f9 Oct 19, 2016
@SparkQA
Copy link

SparkQA commented Oct 19, 2016

Test build #67145 has finished for PR 15530 at commit 1679077.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

robert3005 pushed a commit to palantir/spark that referenced this pull request Nov 1, 2016
…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.
uzadude pushed a commit to uzadude/spark that referenced this pull request Jan 27, 2017
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants