ueshin commented on code in PR #49946: URL: https://github.com/apache/spark/pull/49946#discussion_r1956631710
########## bin/pyspark: ########## @@ -83,6 +83,8 @@ export PYTHONPATH="${SPARK_HOME}/python/lib/py4j-0.10.9.9-src.zip:$PYTHONPATH" export OLD_PYTHONSTARTUP="$PYTHONSTARTUP" export PYTHONSTARTUP="${SPARK_HOME}/python/pyspark/shell.py" +export PYSPARK_DEFAULT_API_MODE=$($PYSPARK_DRIVER_PYTHON -c "from pyspark.util import default_api_mode; print(default_api_mode())") Review Comment: Let me use some of the change from your PR as it's not merged yet. -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org