0

My epl is simple:

select symbol, sum(price) from MarketData(symbol!='').win:time(5.5 sec) group by symbol

The listener:

update(EventBean[] newEvents, EventBean[] oldEvents) {
    System.out.println(newEvents.length); //sometimes it's greater than 1
}

I think it's not possible that newEvents.length > 1 for my epl.

Can someone explain this for me? Thanks

bylijinnan
  • 756
  • 3
  • 11
  • 27

1 Answers1

0

Correct that for that EPL that you posted there is always "newEvents.length=1", provided that the listener does not also receive other output and values are indeed immutable, of course.

user650839
  • 2,594
  • 1
  • 13
  • 9