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

Xu Mingmin commented on BEAM-3749:
----------------------------------

It doesn't, with {{Window.configure()}} the code is
{code}
input
  .apply(Window.into(FixedWindows.of(Duration.standardMinutes(2))))
  .apply(Window.<Row>configure().triggering( ... )
                                                .accumulatingFiredPanes()
                                                
.withAllowedLateness(Duration.ZERO)
        )
  .apply( BeamSql.query("SELECT count(*)  from PCOLLECTION " ))
{code}
 

> support customized trigger/accumulationMode in BeamSql
> ------------------------------------------------------
>
>                 Key: BEAM-3749
>                 URL: https://issues.apache.org/jira/browse/BEAM-3749
>             Project: Beam
>          Issue Type: Improvement
>          Components: dsl-sql
>            Reporter: Xu Mingmin
>            Assignee: Xu Mingmin
>            Priority: Major
>             Fix For: 2.5.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> Currently BeamSql use {{DefaultTrigger}} for aggregation operations. 
> By adding two options {{withTrigger(Trigger)}} and 
> {{withAccumulationMode(AccumulationMode)}}, developers can specify their own 
> aggregation strategies with BeamSql.
> [~xumingming] [~kedin] [~kenn] for any comments.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to