espertechinc / esper

Esper Complex Event Processing, Streaming SQL and Event Series Analysis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

why match_recognize reports an error EPStatementException?

zy93xy opened this issue · comments

Caused by: com.espertech.esper.client.EPStatementException: Error starting statement: Failed to validate condition expression for variable 'B': Failed to validate match-recognize define expression 'B.fields.received_time>A.received_time': Failed to resolve property 'B.fields.received_time' to a stream or nested property in a stream [select * from java.util.Map match_recognize( partition by src_ip measures A as t, B as t2, C as t3 pattern (A{2} B{2} C{2}) define A as (A.received_time > 0) , B as ( B.fields.received_time > A.received_time ) , C as ( C.received_time > B.received_time ) )]