Hello everyone,
I have a very basic question wrt Databricks spark parallelism.
I have a python function within a for loop, so I believe this is running sequentially.
Databricks cluster is enabled with Photon and with Spark 15x, does that mean the driver is responsible to make this to run in parallel even though it is in a for loop OR do I need to introduce something to make the function to run in parallel.
Need you help to understand on the above one and if I need to introduce parallelism explicitly then how do I do it.
Also how to achieve it based on the total executors cores in the cluster [ I read executor cores are responsible for the parallelism ].
Please correct me if my understanding is wrong.
Thanks
Sathya