GitHub user jerryshao opened a pull request:
https://github.com/apache/spark/pull/19649
[SPARK-22405][SQL] Add more ExternalCatalogEvent
## What changes were proposed in this pull request?
We're building a data lineage tool in which we need to monitor the metadata
changes in ExternalCatalog, current ExternalCatalog already provides several
useful events like "CreateDatabaseEvent" for custom SparkListener to use. But
still there's some event missing, like alter database event and alter table
event. So here propose to and new ExternalCatalogEvent.
## How was this patch tested?
Enrich the current UT and tested on local cluster.
CC @hvanhovell please let me know your comments about current proposal,
thanks.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jerryshao/apache-spark SPARK-22405
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19649.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 #19649
----
commit 5c628be6b6838b224a27e06731f686a5182e1bad
Author: jerryshao <[email protected]>
Date: 2017-11-03T01:48:48Z
Add more ExternalCatalogEvent
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]