mbutrovich commented on code in PR #391:
URL: https://github.com/apache/datafusion-spark/pull/391#discussion_r4773514988


##########
crates/sqllogictest/scripts/README.md:
##########
@@ -29,8 +30,16 @@ python3 -m venv /tmp/pyspark-4.2
 /tmp/pyspark-4.2/bin/pip install -r 
crates/sqllogictest/scripts/requirements.txt
 ```
 
-The runner ignores `SPARK_HOME`, so it always uses the Spark bundled with this
-PySpark.
+For Spark 3.5, install `requirements-spark-3.5.txt` into a second virtual
+environment, and run the runner with that environment's Python:

Review Comment:
   The setup section above asks for ["Java 17 or 
21"](https://github.com/apache/datafusion-spark/blob/c4d1e78aa8ec5528b2f30fc9df8ed84bebc18a49/crates/sqllogictest/scripts/README.md?plain=1#L25),
 but the Spark 3.5.9 docs list [Java 
8/11/17](https://github.com/apache/spark/blob/7c14a3c28b141cc97a330c4d0f5d2a6da7267f85/docs/index.md?plain=1#L37)
 and not 21. CI runs both versions on Java 17. Should the 3.5 instructions say 
to use Java 17?
   
   ```suggestion
   For Spark 3.5, which supports Java 17 but not 21, install
   `requirements-spark-3.5.txt` into a second virtual environment, and run the
   runner with that environment's Python:
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to