Is it possible to use multiprocessing or threads to submit multiple queries to a database from Databricks in parallel?
We are trying to improve our overall runtime by running queries in parallel using either multiprocessing or threads. What I am seeing though is that when the function that runs this code is run on a separate process it doesnt return a dataFrame with...
- 24183 Views
 - 5 replies
 - 2 kudos
 
  Latest Reply  
               Thanks for the links mentioned above. But both of them uses raw python to achieve parallelism. Does this mean Spark (read PySpark) does exactly provisions for parallel execution of functions or even notebooks ? We used a wrapper notebook with ThreadP...
- 2 kudos