Github user fhueske commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3550#discussion_r107017477
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/plan/nodes/datastream/DataStreamOverAggregate.scala
 ---
    @@ -17,23 +17,52 @@
      */
     package org.apache.flink.table.plan.nodes.datastream
     
    -import org.apache.calcite.plan.{RelOptCluster, RelTraitSet}
    +import java.util.{ List => JList }
    +
    +import org.apache.flink.table.runtime.aggregate.AggregateUtil.CalcitePair
    +import org.apache.calcite.plan.RelOptCluster
    +import org.apache.calcite.plan.RelTraitSet
    +import org.apache.calcite.rel.RelNode
    +import org.apache.calcite.rel.RelWriter
    +import org.apache.calcite.rel.SingleRel
     import org.apache.calcite.rel.`type`.RelDataType
     import org.apache.calcite.rel.core.AggregateCall
    -import org.apache.calcite.rel.{RelNode, RelWriter, SingleRel}
    +import org.apache.calcite.rel.core.Window
    +import org.apache.calcite.rel.core.Window.Group
    +import org.apache.calcite.sql.`type`.BasicSqlType
     import org.apache.flink.api.java.typeutils.RowTypeInfo
     import org.apache.flink.streaming.api.datastream.DataStream
    -import org.apache.flink.table.api.{StreamTableEnvironment, TableException}
    +import org.apache.flink.table.api.StreamTableEnvironment
    +import org.apache.flink.table.api.TableException
     import org.apache.flink.table.calcite.FlinkTypeFactory
    -import org.apache.flink.table.runtime.aggregate._
    +import org.apache.flink.table.functions.ProcTimeType
    +import org.apache.flink.table.functions.RowTimeType
     import org.apache.flink.table.plan.nodes.OverAggregate
    +import org.apache.flink.table.runtime.aggregate.AggregateUtil
     import org.apache.flink.types.Row
    -import org.apache.calcite.rel.core.Window
    -import org.apache.calcite.rel.core.Window.Group
    -import java.util.{List => JList}
    +import org.apache.calcite.sql.`type`.IntervalSqlType
    +import 
org.apache.flink.streaming.api.functions.AssignerWithPunctuatedWatermarks
    +import org.apache.flink.streaming.api.watermark.Watermark
    +import org.apache.calcite.rex.RexInputRef
    +import org.apache.flink.streaming.api.windowing.evictors.TimeEvictor
    +import org.apache.flink.streaming.api.windowing.assigners.GlobalWindows
    +import org.apache.flink.streaming.api.windowing.triggers.CountTrigger
    --- End diff --
    
    Please remove unused imports like `CountTrigger`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to