[ 
https://issues.apache.org/jira/browse/FLINK-6091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981887#comment-15981887
 ] 

ASF GitHub Bot commented on FLINK-6091:
---------------------------------------

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

    https://github.com/apache/flink/pull/3733#discussion_r113048507
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/runtime/aggregate/AggregateUtil.scala
 ---
    @@ -159,18 +174,22 @@ object AggregateUtil {
         * @param generator       code generator instance
         * @param namedAggregates List of calls to aggregate functions and 
their output field names
         * @param inputType       Input row type
    +    * @param inputTypeInfo   Input DataStream row type
    +    * @param returnTypeInfo  Return DataStream row type
         * @param precedingOffset the preceding offset
    -    * @param isRowsClause   It is a tag that indicates whether the OVER 
clause is ROWS clause
    +    * @param isRowsClause    It is a tag that indicates whether the OVER 
clause is ROWS clause
         * @param isRowTimeType   It is a tag that indicates whether the time 
type is rowTimeType
         * @return [[org.apache.flink.streaming.api.functions.ProcessFunction]]
         */
    -  private[flink] def createBoundedOverProcessFunction(
    +  private[flink] def createBoundedOverProcessFunction[T](
         generator: CodeGenerator,
         namedAggregates: Seq[CalcitePair[AggregateCall, String]],
         inputType: RelDataType,
    +    inputTypeInfo: TypeInformation[T],
    --- End diff --
    
    remove new type info parameters.


> Implement and turn on the retraction for aggregates
> ---------------------------------------------------
>
>                 Key: FLINK-6091
>                 URL: https://issues.apache.org/jira/browse/FLINK-6091
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Table API & SQL
>            Reporter: Shaoxuan Wang
>            Assignee: Hequn Cheng
>
> Implement functions for generating and consuming retract messages for 
> different aggregates. 
> 1. add delete/add property to Row
> 2. implement functions for generating retract messages for unbounded groupBy
> 3. implement functions for handling retract messages for different aggregates.
> 4. handle retraction messages in CommonCorrelate and CommonCalc (retain 
> Delete property).
> Note: Currently, only unbounded groupby generates retraction and it is 
> working under unbounded and processing time mode. Hence, retraction is only 
> supported for unbounded and processing time aggregations so far. We can add 
> more retraction support later.
> supported now: unbounded groupby, unbounded and processing time over window
> unsupported now: group window, event time or bounded over window.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to