shell.py¶
shell.py
script is the interactive shell of PySpark.
shell.py
defines the following variables:
sc
being pyspark.SparkContextspark
being pyspark.sql.session.SparkSessionsql
being SparkSession.sqlsqlContext
andsqlCtx
for compatibility
Last update: 2021-02-22