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

    https://github.com/apache/flink/pull/3547#discussion_r106193639
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/plan/nodes/datastream/DataStreamOverAggregate.scala
 ---
    @@ -17,34 +17,38 @@
      */
     package org.apache.flink.table.plan.nodes.datastream
     
    -import org.apache.calcite.plan.{RelOptCluster, RelTraitSet}
    +import org.apache.calcite.plan.{ RelOptCluster, RelTraitSet }
     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.{ RelNode, RelWriter, SingleRel }
     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, TableException 
}
     import org.apache.flink.table.calcite.FlinkTypeFactory
     import org.apache.flink.table.runtime.aggregate._
     import org.apache.flink.table.plan.nodes.OverAggregate
     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 java.util.{ List => JList }
     
     import org.apache.flink.table.functions.{ProcTimeType, RowTimeType}
     import org.apache.flink.table.runtime.aggregate.AggregateUtil.CalcitePair
    +import org.apache.calcite.sql.`type`.BasicSqlType
    +import org.apache.flink.streaming.api.functions.windowing.WindowFunction
    +import org.apache.flink.streaming.api.windowing.windows.GlobalWindow
    +import org.apache.flink.api.java.tuple.Tuple
     
     class DataStreamOverAggregate(
    -    logicWindow: Window,
    -    cluster: RelOptCluster,
    -    traitSet: RelTraitSet,
    -    inputNode: RelNode,
    -    rowRelDataType: RelDataType,
    -    inputType: RelDataType)
    -  extends SingleRel(cluster, traitSet, inputNode)
    -  with OverAggregate
    -  with DataStreamRel {
    +  logicWindow: Window,
    --- End diff --
    
    Indent 4 space.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to