QueryExecutionListener cannot be found in pyspark

chanansh
Contributor

According to the documentation you can monitor a spark structure stream job using QueryExecutionListener. However I cannot find it.

https://docs.databricks.com/structured-streaming/stream-monitoring.html#language-python

jose_gonzalez
Databricks Employee
Databricks Employee

Which DBR version are you using? also, can you share some code snippet on how you are using the QueryExecutionListener?