I have the temp view being created in a loop. This temp view is used in subsequent queries.
for row in manual_est_query_results_list:
manual_est_query_results.createOrReplaceTempView("manual_estimates")
Sometimes, the size of manual_est_query_results_list
list is around 500 rows and is resulting in 500 rows in the Spark UI, SQL Tab as shown below. The exec time is in millis but this is cluttering up the UI making it hard to navigate while debugging issues. What should I pay attention to if I want to move it out of the loop