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

Chris Riccomini commented on SAMZA-390:
---------------------------------------

[~yipan], regarding this comment:

bq. if a query result has a temporal field as one of its GROUP By or JOIN keys, 
and the incoming messages can be expected to flow in-order-of the timestamps, 
we can perform incremental computation of query results.

Isn't this true with any window operation? If we are doing a windowed join, and 
a new row comes in, we can look at the buffer for the other incoming stream, 
and do the join immediately, and output right away, correct? I believe the same 
holds true for something like SELECT member_id, count(*) FROM PageViews 
WINDOW(30 seconds) GROUP BY member_id. It seems to me that any windowing 
implicitly means that it's part of the GROUP BY, and therefore all window 
operations can be done incrementally.

> High-Level Language for Samza
> -----------------------------
>
>                 Key: SAMZA-390
>                 URL: https://issues.apache.org/jira/browse/SAMZA-390
>             Project: Samza
>          Issue Type: New Feature
>            Reporter: Raul Castro Fernandez
>            Priority: Minor
>              Labels: project
>
> Discussion about high-level languages to define Samza queries. Queries are 
> defined in this language and transformed to a dataflow graph where the nodes 
> are Samza jobs.



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

Reply via email to