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

Dian Fu commented on CALCITE-2033:
----------------------------------

I don't think {{A->B+}} is equals to {{A B+}}. Suppose we have input events 
such as {{A1, C, B1, B2}}, for pattern {{A -> B+}}, the output will be {{A1, 
B1}}, {{A1, B1, B2}}, while for pattern {{A B+}}, there will be no output at 
all. 

> 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