Hyukjin Kwon created SPARK-62185:
------------------------------------
Summary: Vendor PySpark's pyspark.sql.connect.local_server, and
run the official tests that pass with the Python client
Key: SPARK-62185
URL: https://issues.apache.org/jira/browse/SPARK-62185
Project: Spark
Issue Type: Improvement
Components: Connect
Affects Versions: connect-rust-4.4.0
Reporter: Hyukjin Kwon
pyspark-client 4.3.0 ships pyspark.sql.connect.local_server, the opt-in reuse
of a persistent local Spark Connect server
(reuse_or_start_local_connect_server, LocalConnectServer, Discovery, and python
-m pyspark.sql.connect.local_server --stop). The drop-in has no such module, so
its import raises ModuleNotFoundError, and the official
test_connect_local_server.py does not import. It is pure Python, so the drop-in
can vendor it as it is.
Also, the drop-in's manifest of the official tests
(scripts/dropin_known_failures.txt) skips tests that pass with the drop-in:
test_connect_retry.py (9 of 9 pass) and
test_connect_channel.py::ChannelBuilderTests::test_metadata_with_session_id.
Run them.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]