Hyukjin Kwon created SPARK-61856:
------------------------------------
Summary: Give SparkSession.client the public API of PySpark
Connect's SparkConnectClient, over the Rust transport
Key: SPARK-61856
URL: https://issues.apache.org/jira/browse/SPARK-61856
Project: Spark
Issue Type: Improvement
Components: Connect
Affects Versions: connect-rust-4.4.0
Reporter: Hyukjin Kwon
SparkSession.client, the drop-in's SparkConnectClient, has only the members
that pyspark.ml and the modules that build their own messages use. PySpark
4.3.0's SparkConnectClient (pyspark/sql/connect/client/core.py) has 34 more
public members: tags (add_tag, remove_tag, get_tags, clear_tags), interrupts
(interrupt_all, interrupt_tag, interrupt_operation), registrations
(register_udf, register_udtf, register_java, register_data_source), artifacts
(add_artifacts, cache_artifact, cache_artifacts, copy_from_local_to_fs), plan
execution and analysis (config, explain_string, schema, same_semantics,
semantic_hash, to_table, to_table_as_iterator, to_pandas,
execute_command_as_iterator), newSession and clone, progress handlers, reattach
and retry policies (enable/disable_reattachable_execute,
get/set_retry_policies), and the token property; its constructor takes
(connection, user_id=None, channel_options=None, retry_policy=None, ...).
pyspark.errors.exceptions.connect also lacks convert_exception and
convert_observation_errors.
Give SparkSession.client the public API of PySpark's SparkConnectClient, over
the Rust transport.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]