Aggregated window functions
You can now aggregate window functions in-line within visuals and field definitions. e.g. `sum(sum(Sales)) over (partition by region order by month(date) asc). etc.
DuckDB cells are now materialised
Each DuckDB cell being run in the browser is now materialized and used in the calculation of any downstream DuckDB cells, as opposed to previously where DuckDB cells compiled all upstream cells as CTEs.
This fixes various performance issues caused by aggregating/filtering with large upstream cells.
Canvas redraw performance improvement
We've improved logic that calculates z-indices of objects, accelerating the canvas load time for large canvases with long edit history. This also speeds up other actions involving redraws such as switching between presentation/report views and the canvas.
Fixes
- Fixed various issues using the clipboard on Safari/Firefox
- Fixed catalog cells with downstream non-catalog visible cells, in which the views for those catalog cells are never executed so the visible cells were waiting forever
- Fixed an issue where Count temporarily failed to connect to Snowflake on AWS due to certificate errors
- Fixed OOM errors when reading parts of large result sets from the server
- Fixed an issue where links shifted on defocusing when placed after a newline
- Mentions are now correctly shown for workspace guests and autocomplete ordering of users has been improved