twalthr commented on a change in pull request #6815: [FLINK-7062][cep][table]
Added basic support for MATCH_RECOGNIZE
URL: https://github.com/apache/flink/pull/6815#discussion_r226556563
##########
File path:
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/plan/nodes/MatchRecognize.scala
##########
@@ -18,134 +18,136 @@
package org.apache.flink.table.plan.nodes
+import java.util.{List => JList, SortedSet => JSortedSet}
+
import com.google.common.collect.ImmutableMap
import org.apache.calcite.rel.{RelCollation, RelWriter}
import org.apache.calcite.rex.{RexCall, RexLiteral, RexNode}
import org.apache.calcite.sql.SqlKind
import org.apache.calcite.sql.SqlMatchRecognize.AfterOption
-import org.apache.flink.cep.nfa.aftermatch.AfterMatchSkipStrategy
-import org.apache.flink.table.plan.nodes.logical.FlinkLogicalMatch
-import org.apache.flink.table.plan.schema.RowSchema
+import org.apache.flink.table.plan.logical.MatchRecognizeDescriptor
+import org.apache.flink.table.runtime.aggregate.SortUtil.directionToOrder
import scala.collection.JavaConverters._
trait MatchRecognize {
Review comment:
Rename to `CommonMatchRecognize`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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