[
https://issues.apache.org/jira/browse/SPARK-61060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon resolved SPARK-61060.
----------------------------------
Resolution: Fixed
Issue resolved by pull request 268
[https://github.com/apache/spark-connect-rust/pull/268]
> Vendor pyspark.conf and pyspark.taskcontext, and export the names of pyspark,
> in the Python client as PySpark does
> ------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-61060
> URL: https://issues.apache.org/jira/browse/SPARK-61060
> 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}} exports the {{SparkConf}} of
> {{pyspark.conf}}, the {{TaskContext}}, {{BarrierTaskContext}} and
> {{BarrierTaskInfo}} of {{pyspark.taskcontext}}, {{Accumulator}},
> {{AccumulatorParam}}, {{MarshalSerializer}}, {{CPickleSerializer}},
> {{Profiler}}, {{BasicProfiler}} and {{keyword_only}}, and its {{since}}
> appends the version to the docstring of a function. The modules
> {{pyspark.conf}} and {{pyspark.taskcontext}} are pure Python.
> The Rust-backed Python client has neither {{pyspark.conf}} nor
> {{pyspark.taskcontext}}: {{from pyspark import TaskContext}} raises an
> {{ImportError}}. Its {{SparkConf}} is a stub of {{set}}, {{get}}, {{remove}}
> and a {{setAll}} of a dict, without the {{setAppName}}, {{setMaster}},
> {{setIfMissing}}, {{contains}}, {{toDebugString}} and the other methods of
> PySpark's, and {{pyspark}} lacks the other names. Vendor the modules and
> export the names 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]