wuchong commented on a change in pull request #8203:
[Flink-12208][table-planner-blink] Support translation from StreamExecSort /
TemporalSort / SortLimit/ Limit to StreamTransformation.
URL: https://github.com/apache/flink/pull/8203#discussion_r277191342
##########
File path:
flink-table/flink-table-planner-blink/src/main/scala/org/apache/flink/table/plan/nodes/physical/stream/StreamExecSortLimit.scala
##########
@@ -18,6 +18,18 @@
package org.apache.flink.table.plan.nodes.physical.stream
import org.apache.flink.table.plan.util.{RankProcessStrategy, RelExplainUtil,
RetractStrategy, SortUtil}
+import org.apache.flink.streaming.api.operators.KeyedProcessOperator
+import org.apache.flink.streaming.api.transformations.{OneInputTransformation,
StreamTransformation}
+import org.apache.flink.table.api.{StreamTableEnvironment, TableConfigOptions,
TableException}
+import org.apache.flink.table.calcite.FlinkTypeFactory
+import org.apache.flink.table.codegen.EqualiserCodeGenerator
+import org.apache.flink.table.codegen.sort.ComparatorCodeGenerator
+import org.apache.flink.table.dataformat.BaseRow
+import org.apache.flink.table.plan.nodes.exec.{ExecNode, StreamExecNode}
+import
org.apache.flink.table.plan.rules.physical.stream.StreamExecRetractionRules
+import org.apache.flink.table.plan.util.{AppendFastStrategy, FlinkRelOptUtil,
KeySelectorUtil, RankProcessStrategy, RelExplainUtil, RetractStrategy,
SortUtil, UnaryUpdateStrategy, UpdateFastStrategy}
+import org.apache.flink.table.runtime.keyselector.NullBinaryRowKeySelector
+import org.apache.flink.table.runtime.rank.{AppendTopNFunction,
ConstantRankRange, RankType, RetractTopNFunction, FastTopNFunction}
Review comment:
Remove unused imports.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services