[ https://issues.apache.org/jira/browse/SPARK-30105 ]


    Eric deleted comment on SPARK-30105:
    ------------------------------

was (Author: ladoe00):
Fixed by SPARK-38759

> Add StreamingQueryListener support to PySpark
> ---------------------------------------------
>
>                 Key: SPARK-30105
>                 URL: https://issues.apache.org/jira/browse/SPARK-30105
>             Project: Spark
>          Issue Type: New Feature
>          Components: PySpark, Structured Streaming
>    Affects Versions: 3.1.0
>            Reporter: Abhijeet Prasad
>            Priority: Minor
>
> Add support for StreamingQueryListener to PySpark.
>  
> Currently the `StreamingQueryListener` in Scala is implemented as an abstract 
> class, so we cannot use Python proxies (Py4j) to access it unless we create 
> our own custom Scala/Java wrapper.
>  
> [https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/streaming/StreamingQueryListener.scala]
>  
> This would be very useful in my personal case, I am building a library that 
> allows you to send Python errors to Sentry.io 
> [https://docs.sentry.io/platforms/python/pyspark/] and would like to hook 
> onto onQueryTerminated to send errors.
>  
> I can take this on if you point me in which direction to go, new to the 
> codebase so not quite sure what the process for porting Scala API -> PySpark 
> API changes usually look like.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to