|
|
I tried to run example and I getting follow error:
Failed to resolve event type: Event type or class named 'TicksPerSecond' was not found [select feed, avg(cnt) as avgCnt, cnt as feedCnt from TicksPerSecond.win:time(10 sec) group by feed having cnt < avg(avgCnt) * 0.75]
Stacktrace:
Caused by: com.espertech.esper.client.EPStatementException: Failed to resolve event type: Event type or class named 'TicksPerSecond' was not found [select feed, avg(cnt) as avgCnt, cnt as feedCnt from TicksPerSecond.win:time(10 sec) group by feed having cnt < avg(avgCnt) * 0.75]
at com.espertech.esper.core.StatementLifecycleSvcImpl.compile(StatementLifecycleSvcImpl.java:969)
at com.espertech.esper.core.StatementLifecycleSvcImpl.createStopped(StatementLifecycleSvcImpl.java:195)
at com.espertech.esper.core.StatementLifecycleSvcImpl.createAndStart(StatementLifecycleSvcImpl.java:156)
at com.espertech.esper.core.StatementLifecycleSvcImpl.createAndStart(StatementLifecycleSvcImpl.java:114)
at com.espertech.esper.core.EPAdministratorImpl.createEPLStmt(EPAdministratorImpl.java:146)
at com.espertech.esper.core.EPAdministratorImpl.createEPL(EPAdministratorImpl.java:97)
at org.apache.camel.component.esper.EsperEndpoint.createStatement(EsperEndpoint.java:80)
at org.apache.camel.component.esper.EsperEndpoint.getStatement(EsperEndpoint.java:68)
...
Please, help
|