Dear Spark Community:

In ExternalCatalogWithListener
<https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/ExternalCatalogWithListener.scala>,
I see postToAll() is called for create/drop/alter/rename
database/table/function to post DatabaseEvent/TableEvent/FunctionEvent
<https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/catalog/events.scala>
to
all registered listeners.

But I do not see any event posted when doing so toward "partition".

Is there any deliberate reason why Spark is not doing so? How about posting
TableEvent (already have) or PartitionEvent (a new sub-trait of TableEvent)?


-- 

                                               李响 Xiang Li

手机 cellphone :+86-136-8113-8972
邮件 e-mail      :wate...@gmail.com

Reply via email to