Hyukjin Kwon created SPARK-61061:
------------------------------------
Summary: Add InheritableThread and inheritable_thread_target,
which inherit the tags of the session, in the Python client as PySpark does
Key: SPARK-61061
URL: https://issues.apache.org/jira/browse/SPARK-61061
Project: Spark
Issue Type: Bug
Components: Connect
Affects Versions: connect-rust-4.3.0
Reporter: Hyukjin Kwon
In the PySpark client, {{pyspark.InheritableThread}} and
{{pyspark.inheritable_thread_target}} run a function in a thread that inherits
the thread-local state of the session of the parent thread, such as its job
tags, so that {{spark.interruptTag}} of a tag of the parent interrupts the jobs
of the thread too.
The Rust-backed Python client has neither: {{from pyspark import
InheritableThread}} raises an {{ImportError}}. Add them as PySpark does.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]