You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by ja...@gmail.com on 2026/01/23 06:55:23 UTC
Integrating new optimization rules for window functions
Hi all,
I'm writing to share a new PR that focuses on optimizing our window function execution in IoTDB.
To improve query performance and efficiency, we are introducing a comprehensive set of optimization rules. These changes aim to streamline how window functions are processed by pruning unused columns, removing redundant definitions, and optimizing specific patterns like `RowNumber` and `TopN`.
The update includes the implementation of the following rules, along with their corresponding nodes and operators:
- PruneWindowColumns
- RemoveRedundantWindow
- PruneOrderByInWindowAggregation
- GatherAndMergeWindows
- ReplaceWindowWithRowNumber
- PushdownLimitIntoWindow
- PushdownFilterIntoWindow
The PR link is: https://github.com/apache/iotdb/pull/16953
Best regards,
--------------------
Yuan Tian