espertechinc / esper

Esper Complex Event Processing, Streaming SQL and Event Series Analysis
GNU General Public License v2.0
842 stars 259 forks source link

why match_recognize reports an error EPStatementException? #265

Closed zy93xy closed 2 years ago

zy93xy commented 2 years ago

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 ) )]