Zhuang Tianyi created FLINK-24158: ------------------------------------- Summary: Remove useless collector in LimitOperator Key: FLINK-24158 URL: https://issues.apache.org/jira/browse/FLINK-24158 Project: Flink Issue Type: Improvement Components: Table SQL / Runtime Reporter: Zhuang Tianyi
[https://github.dev/apache/flink/blob/2984d87ed7761a6ca345b8b79bcb6dd49db0442b/flink-table/flink-table-runtime/src/main/java/org/apache/flink/table/runtime/operators/sort/LimitOperator.java#L56|https://github.dev/apache/flink/blob/2984d87ed7761a6ca345b8b79bcb6dd49db0442b/flink-table/flink-table-runtime/src/main/java/org/apache/flink/table/runtime/operators/sort/LimitOperator.java#L56-L56] The collector is unnecessary, we can call {color:#000000}output.consume directly. {color} -- This message was sent by Atlassian Jira (v8.3.4#803005)