Finish window function query planning stage. by Sh-Zh-7 · Pull Request #15151 · apache/iotdb
StatementAnalyzer.java
Added imports and new methods to analyze window definitions and resolve window functions.
ExpressionTreeUtils.java
Introduced static methods to extract window functions and nested window expressions.
ExpressionAnalyzer.java
Updated logic to process window function calls and integrated window analysis into expression processing.
ExpressionAnalysis.java
Extended analysis result to include window functions.
Analysis.java
Added maps and methods to record window definitions, window functions, and order-by window functions.
PlanVisitor.java, PlanNodeType.java, PlanGraphPrinter.java
Added new visit methods and node types to support window function planning and visualization.
TableOperatorGenerator.java
Integrated the new window function operators into the query execution plan.
Various window frame and function files
Updated window frame implementations and window function implementations (NthValue, Lead, Lag, NTile, etc.) to support new window query planning stage.
FilterAndProjectOperator.java
Triggered evaluation in column transformers as part of the projection process.