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

Zhiqiang He edited comment on CALCITE-2033 at 11/6/17 10:55 AM:
----------------------------------------------------------------

{A->B+} is equals {A B+}. why we need to add this operator in regulax 
expression?
-> is only for pattern. not match recognize.  I think we should create a new 
syntax
for example:
pattern [every a=ServiceOrder ->    b=ProductOrder(custId = a.custId) where 
timer:within(1 min)]
you can see this syntax in esper.
http://esper.espertech.com/release-7.0.0-beta3/esper-reference/html/event_patterns.html


was (Author: ransom):
{A->B+} is equals {A B+}. why we need to add this operator in regulax 
expression?

> Support followed by in pattern definition for MATCH_RECOGNIZE
> -------------------------------------------------------------
>
>                 Key: CALCITE-2033
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2033
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Dian Fu
>            Assignee: Julian Hyde
>
> The [doc|https://docs.oracle.com/database/121/DWHSG/pattern.htm#DWHSG8986] 
> has already defined pattern operator {{Concatenation}}. For example, pattern 
> {{A B}} means that events matching pattern {{A}} and {{B}} should occur 
> successively. There are also many use cases which require patterns to match 
> events which not occur successively.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to