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

    https://github.com/apache/flink/pull/4157#discussion_r125500774
  
    --- Diff: 
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/api/queryConfig.scala
 ---
    @@ -37,6 +37,13 @@ class BatchQueryConfig private[table] extends QueryConfig
     class StreamQueryConfig private[table] extends QueryConfig {
     
       /**
    +    * The non-windowed groupby aggregate update the calculation result 
according a configuration of
    +    * time interval. By default non-windowed groupby aggregate will update 
calculation result each
    +    * row.
    +    */
    +  private var unboundedAggregateUpdateInterval: Time = Time.milliseconds(0)
    --- End diff --
    
    I think we need to achieve separately, i.e., proc-time non-windowed 
aggregations using `process-time timer.` and event-time non-windowed 
aggregations using event-time timer. `updateInterval` also make sense, because 
`updateInterval` is relative to the last emit time. i.e., emitTime = 
current(Proc/Row)Time+updateInterval. (Calculate emitTime when the data 
arrives).


---
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