Skip to content

Commit

Permalink
Update prerequisites.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-lixakov authored Oct 7, 2024
1 parent 97779a1 commit dd89c4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/connection/db_connection/greenplum/prerequisites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ Number of connections can be limited by 2 ways:

spark = (
SparkSession.builder
# Spark will start EXACTLY 5 executors with 1 core each, so max number of parallel jobs is 10
# Spark will run with 5 threads in local mode, allowing up to 5 parallel tasks
.config("spark.master", "local[5]")
.config("spark.executor.cores", 1)
).getOrCreate()
Expand Down

0 comments on commit dd89c4c

Please sign in to comment.