Github user gatorsmile commented on the issue:

    https://github.com/apache/spark/pull/19309
  
    Let me summarize the PR. Please correct me if anything is missing.
    
    **Background**
    
    Currently, our users can register a listener one by one during the 
executions by calling the SparkContext API:
    >    def addSparkListener(listener: SparkListenerInterface)
    
    Users also can specify them through the Conf `spark.extraListeners`. 
SparkContext will automatically register the extra listeners during the 
initialization phase.
    
    In Spark SQL, QueryExecutionListener enable users to register 
QueryExecutionListener by calling the API 
    >    def register(listener: QueryExecutionListener)
    
    **Proposal**
    
    This PR is proposing to add a similar static SQLConf 
`spark.sql.queryExecutionListeners`. When a Spark session is built/cloned, the 
query execution listeners specified in the new conf will be registered 
automatically.



---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to