Hello everybody,
I am currently trying to run some performance tests on queries in Databricks on Azure. For my tests, I am using a Classic SQL Warehouse in the SQL Editor.
I have created two views that contain the same data but have different structure -> I am trying to see if those different structures affect query performance.
My issue:
To test the performance I am running similiar queries that result in the same output for the individual views. Caching of course screws with the results as the output is fully cached from the previous query.
I have tried to do the following things already:
- SET use_cached_result = false; -> Does not impact my query caching unfortunately
- CLEAR CACHE; -> Does not work on SQL Warehouses
- spark.conf.set("spark.databricks.io.cache.enabled", "false") -> Also doesnt impact the query caching
Looking at the caching structure of databricks I guess I need to disable the UI Cache, but I can't find any information on how to do so. Does anybody know how to solve my problem?