mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-27 04:54:21 +01:00
Currently, this is effectively a no-op because, at the optimization stage, window function expressions are in the form win_func(subquery_column1, subquery_column2, ...). Nevertheless, expressions are rewritten to maintain consistency with aggregates, which also hold cloned expressions from sources like result columns. This ensures future changes in the optimizer won’t break window function handling.