Data Governance, Data Warehouse, Databricks, Databricks Sql, Data Observability.
max(metrics.spill_to_disk_bytes) as max_spill_to_disk_bytes, count(*) as count_queries_spilled, warehouse_id from query_history where end_window = ( select max(end_window) from query_history ) group by warehouse_id having avg_spill_to_disk_bytes > 0 order by avg_spill_to_disk_bytes desc Through the