Skip to content

Commit d152ae8

Browse files
sryzaHyukjinKwon
authored andcommitted
Small improvements to Python Spark Connect installation docs
### What changes were proposed in this pull request? Some small clarity and grammar improvements to the Python Spark Connect installation docs ### Why are the changes needed? To make it easier to understand how to install Spark Connect with PySpark. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? ### Was this patch authored or co-authored using generative AI tooling? No Closes #51031 from sryza/spark-connect-installation-docs. Authored-by: Sandy Ryza <sandy.ryza@databricks.com> Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
1 parent 62eac3e commit d152ae8

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

python/docs/source/getting_started/install.rst

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,23 @@ Supported values in ``PYSPARK_HADOOP_VERSION`` are:
8484
Note that this installation of PySpark with/without a specific Hadoop version is experimental. It can change or be removed between minor releases.
8585

8686

87-
Making Spark Connect by default
88-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
87+
Making Spark Connect the default
88+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8989

90-
If you want to make Spark Connect default, you can install and additional library via `PyPI (pyspark-connect) <https://pypi.org/project/pyspark-connect/>`_, execute the following command:
90+
If you want to make Spark Connect the default, you can install an additional library via `PyPI (pyspark-connect) <https://pypi.org/project/pyspark-connect/>`_. Execute the following command:
9191

9292
.. code-block:: bash
9393
9494
pip install pyspark-connect
9595
96-
It will automatically install ``pyspark`` library as well as dependencies that are necessary for Spark Connect.
96+
This will automatically install the ``pyspark`` library, as well as dependencies that are necessary for Spark Connect.
9797
If you want to customize ``pyspark``, you need to install ``pyspark`` with the instructions above in advance.
9898

99-
This package supports both ``spark.master`` (``--master``) with a locally running Spark Connect server, and ``spark.remote`` (``--remote``) including local clusters, e.g., ``local[*]`` as well as connection URIs such as ``sc://localhost``. See also `Quickstart: Spark Connect <quickstart_connect.html>`_ for how to use it.
99+
This package supports both:
100+
- ``spark.master`` (``--master``) with a locally running Spark Connect server
101+
- ``spark.remote`` (``--remote``) including local clusters, e.g., ``local[*]`` as well as connection URIs such as ``sc://localhost``.
102+
103+
See also `Quickstart: Spark Connect <quickstart_connect.html>`_ for how to use it.
100104

101105

102106
Python Spark Connect Client

0 commit comments

Comments
 (0)