Hi @Seaport
Yes it is required when if you want to run Python UDFs or do something outside spark SQL operations in your application.
If you are just using the Spark SQL API there’s no runtime requirement for python.
If you are going to install Spark3, please check below supported versions:
- Spark 2.4 supports Python 2.7 and 3.4-3.7.
- Spark 3.0 supports Python 2.7 and 3.4 and higher, although support for Python 2 and 3.4 to 3.5 is deprecated.
- Spark 3.1 supports Python 3.6 and higher.
CDS Powered by Apache Spark requires one of the following Python versions:
- Python 2.7 or higher, when using Python 2.
- Python 3.4 or higher, when using Python 3. (CDS 2.0 only supports Python 3.4 and 3.5; CDS 2.1 and higher include support for Python 3.6 and higher).
- Python 3.4 or higher, when using Python 3 (CDS 3).
Note: Spark 2.4 is not compatible with Python 3.8. The latest version recommended is Python 3.4+ (https://spark.apache.org/docs/2.4.0/#downloading). The Apache Jira SPARK-29536 related to Python 3.8 is fixed in Spark3.