xuyang created FLINK-33941: ------------------------------ Summary: Use field index instead of field name about window time column Key: FLINK-33941 URL: https://issues.apache.org/jira/browse/FLINK-33941 Project: Flink Issue Type: Technical Debt Components: Table SQL / Planner Reporter: xuyang
In some exec nodes like StreamExecGroupWindowAggregate and some rules like BatchPhysicalWindowAggregateRule, planner uses "AggregateUtil#timeFieldIndex" to access the actual time field index, instead of using the time field index in LogicalWindow#timeAttribute directly. However, it would be more formal to use the field index instead of the column field. -- This message was sent by Atlassian Jira (v8.20.10#820010)