Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Tianhao-Gu committed May 22, 2024
1 parent b5d2f8b commit c7952c2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ In addition, the environment variable `SPARK_MASTER_URL` should also be configur
```python
from spark.utils import get_spark_session

spark = get_spark_session('TestApp')
spark = get_spark_session(app_name)

# To build spark session for Delta Lake operations, set the delta_lake parameter to True
spark = get_spark_session(app_name, delta_lake=True)
```

#### Manually Configuring SparkSession/SparkContext
Expand Down

0 comments on commit c7952c2

Please sign in to comment.