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

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

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

    https://github.com/apache/flink/pull/3919#discussion_r117121382
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/plan/nodes/datastream/DataStreamGroupWindowAggregate.scala
 ---
    @@ -245,6 +264,7 @@ object DataStreamGroupWindowAggregate {
         case SlidingGroupWindow(_, timeField, size, slide)
             if isProctimeAttribute(timeField) && isRowCountLiteral(size) =>
           stream.countWindow(toLong(size), toLong(slide))
    +      .trigger(StateCleaningCountTrigger.of(queryConfig, toLong(slide)));
    --- End diff --
    
    Should this be toLong(size) ?


> Enable QueryConfig in count base GroupWindow
> --------------------------------------------
>
>                 Key: FLINK-6583
>                 URL: https://issues.apache.org/jira/browse/FLINK-6583
>             Project: Flink
>          Issue Type: Bug
>          Components: Table API & SQL
>    Affects Versions: 1.3.0, 1.4.0
>            Reporter: sunjincheng
>            Assignee: sunjincheng
>             Fix For: 1.3.0, 1.4.0
>
>
> Enable QueryConfig in count base GroupWindow by Add a custom Trigger 
> `CountTriggerWithCleanupState`. See more in FLINK-6491.



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

Reply via email to