GitHub user arunmahadevan opened a pull request:
https://github.com/apache/spark/pull/21504
SPARK-24480: Added config for registering streamingQueryListeners
## What changes were proposed in this pull request?
Currently a "StreamingQueryListener" can only be registered
programatically. We could have a new config "spark.sql.streamingQueryListeners"
similar to "spark.sql.queryExecutionListeners" and "spark.extraListeners" for
users to register custom streaming listeners.
## How was this patch tested?
New unit test and running example programs.
Please review http://spark.apache.org/contributing.html before opening a
pull request.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/arunmahadevan/spark SPARK-24480
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/21504.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #21504
----
commit d3a3baa8bba65da6a30d1d449f97cbeb467ca14b
Author: Arun Mahadevan <arunm@...>
Date: 2018-06-07T00:57:22Z
SPARK-24480: Added config for registering streamingQueryListeners
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]