cep - Esper: "time_order" seems not working -
I am using Esper (Event Processing Engine), the EPL query is:
Select * for event * .ext: time_order (timestamp_event, 10000 minutes) where duration & gt; 10 But "Taimstamp_ivent has not ordered output by":
id int = 1, Taimstamp_avent = 1412686800000, duration = 30 ID Int = 4, timestamp_event = 1412685900000, duration = 70 id int = 2, timestamp_event = 1412688600000, duration = 45 id int = 3, timestamp_event = 1412689500000, duration = 60 id int = 5, timestamp_event = 1412636400000, duration = 15 < / Pre I think the problem is on the asap configuration, let's consider a simple query:
Code> select * to event.win : Time (10 seconds) ) [Id_event
By order code "upate" method UpdateListener:
public void update (Iventban [] new events, Iventben] Old Event } {EventBen Event = New Avant [0]; System.out.println ("id int =" + event.get ("id_event") + ", timestamp_envent =" + ((long) event.get ("timestamp_event")). ToString ()); But the output is ordered by non "id_event"!
id event = 1, timestamp_event = 1412686800000 ID event = 4, timestamp_event = 1412687700000 ID event = 2, timestamp_event = 1412687100000 ID event = 3, timestamp_event = 1412687400000 ID event = 5, timestamp_event = 1412688000000 It seems that "order by" does not work, how is it possible?
The document asks to select rstream because dropout events are ordered and events Is not recorded.
Comments
Post a Comment