[
https://issues.apache.org/jira/browse/SPARK-61061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-61061.
----------------------------------
Resolution: Fixed
Issue resolved by pull request 274
[https://github.com/apache/spark-connect-rust/pull/274]
> 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
> Assignee: Hyukjin Kwon
> Priority: Major
> Labels: pull-request-available
> Fix For: connect-rust-4.3.0
>
>
> 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]