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

Robert Joseph Evans commented on STORM-1434:
--------------------------------------------

Streaming joins/group-by really only make since in the context of a window 
(large or small).  I personally would look towards BEAM and how they handle 
this,  If you try to do a GROUP BY of any kind outside of a window it results 
in an error.  If you are doing a rolling or tumbling window it gets a bit more 
complex, and because of that complexity I think we should look towards others 
that have done something like this already.

As for the aggregation after the group-by  that really depends on the 
aggregation.  Ones where we can checkpoint a partial aggregation instead of all 
of the source values would be ideal, but it is an optimization over a more 
general aggregation that we probably also want to support.

> Support the GROUP BY clause in StormSQL
> ---------------------------------------
>
>                 Key: STORM-1434
>                 URL: https://issues.apache.org/jira/browse/STORM-1434
>             Project: Apache Storm
>          Issue Type: New Feature
>          Components: storm-sql
>            Reporter: Haohui Mai
>
> This jira tracks the effort of implement the support `GROUP BY` clause in 
> StormSQL.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to