Hyukjin Kwon created SPARK-59136:
------------------------------------

             Summary: Make the active Spark Connect client identifiable 
(pyspark-client-rust vs the reference client)
                 Key: SPARK-59136
                 URL: https://issues.apache.org/jira/browse/SPARK-59136
             Project: Spark
          Issue Type: Improvement
          Components: Connect
    Affects Versions: 5.0.0
            Reporter: Hyukjin Kwon


Alongside the Rust Spark Connect client, pyspark-client-rust installs the same 
pyspark API surface backed by the native Rust engine (tonic). Because it 
installs under the `pyspark` import name as a drop-in for the reference 
pyspark-client, it should be easy to tell -- at runtime and on PyPI -- which 
client is in use, so behavior and bug reports are attributed to the right 
project.

This adds:
- Runtime identity markers: pyspark.__rust_client__ (True) and 
pyspark.__engine__ ("rust").
- A one-time INFO log on first session connect identifying the Rust-backed 
client.
- A "Which client am I using?" docs page (pyspark vs pyspark-client vs 
pyspark-client-rust, how to tell them apart, where to file issues, server 
compatibility), linked from the docs home and the Compatibility page.
- Sharpened PyPI metadata (description, keywords, Documentation URL).

Follow-up from the dev@ discussion on the Python wrapper of the Rust Connect 
client.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to